I'm working on creating a master script in Unity to control the other scripts. I'm stuck at one part which is the master script can call function from the others.
For example below is script B
public class B { void Test() { Dosomething; } } Script A will be the master one that control script B. Is there any way that you can call Test() in script B like A.Test()? I tried interface but then I still have to create another Test() function inside script A. This will be troublesome if I include more scripts with more functions.
Any advice would be appreciated.
public void Test()