Exemple #1
0
 public void SetUp()
 {
     gameInstance  = GameInstance.instance;
     shaderManager = GameObject.Find("Main Camera").GetComponent <shaderManager>();
 }
Exemple #2
0
 protected virtual void Start()
 {
     gameInstance  = GameInstance.instance;
     shaderManager = GameObject.Find("Main Camera").GetComponent <shaderManager>();
     musicManager  = GameObject.Find("MusicManager").GetComponent <MusicManager>();
 }