protected override void Awake() { base.Awake(); this.OnLoadData(); this.SetID(Guid.NewGuid().ToString()); this.m_FSMManager = new FSMManager(); this.OnStartAction = new CEventListener(); this.OnAction = new CEventListener(); this.OnEndAction = new CEventListener(); }
protected virtual void Awake() { m_Transform = this.transform; OnObjectVisible = new CEventListener(); OnObjectInvisible = new CEventListener(); }