Make a method acessable by scripts extending it, but not by outside scripts - C#