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