// Use this for initialization void Start() { component = GetComponent<CharAnimEffComp>(); component.HasChangedAnimState += ChangedState; syncObj = GetComponent<NetSyncObjCharacter>(); //component.HasChangedAnimHash += ChangedHash; }
void Start() { component = GetComponent<CharPosEffComp>(); syncObj = GetComponent<NetSyncObjCharacter>(); }
// Use this for initialization void Start() { component = GetComponent<ActorStatusComponent>(); component.HasChangedStatus += HandleComponentHasChangedStatus; syncObj = GetComponent<NetSyncObjCharacter>(); }