private void Start()
 {
     control = GetComponent <StateControl>();
     control.AddStateChangedListener(ABC);
 }
Exemple #2
0
 // OnStart is called before the first frame update
 void Start()
 {
     Control.AddStateChangedListener(ABC);
 }