示例#1
0
        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();
        }
示例#2
0
 protected virtual void Awake()
 {
     m_Transform       = this.transform;
     OnObjectVisible   = new CEventListener();
     OnObjectInvisible = new CEventListener();
 }