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