Exemplo n.º 1
0
 void Awake()
 {
     settings           = CountersController.settings.noteConfig;
     transform.position = CountersController.determinePosition(gameObject, settings.Position, settings.Index);
     if (transform.parent == null)
     {
         StartCoroutine(GetRequired());
     }
     else
     {
         Init();
     }
 }
Exemplo n.º 2
0
 void Awake()
 {
     settings = CountersController.settings.noteConfig;
     CountersController.ReadyToInit += Init;
 }