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