Exemplo n.º 1
0
 protected override void MOnEnable()
 {
     base.MOnEnable();
     M_Event.RegisterEvent(LogicEvents.NetPlaceHero, OnPlaceHeroNetwork);
     M_Event.RegisterEvent(LogicEvents.NetMoveHero, OnMoveHeroNetwork);
     M_Event.RegisterEvent(LogicEvents.UIAutoBattle, OnAutoPlay);
 }
Exemplo n.º 2
0
 protected override void MOnEnable()
 {
     base.MOnEnable();
     M_Event.RegisterEvent(LogicEvents.BustStopTalkPointOne, OnEvent);
     M_Event.RegisterEvent(LogicEvents.BustStopTalkPointTwo, OnEvent);
     M_Event.RegisterEvent(LogicEvents.EnterStone, OnEvent);
     M_Event.RegisterEvent(LogicEvents.ForceGirlLeave, OnEvent);
     M_Event.RegisterEvent(LogicEvents.PlayMusic, OnEvent);
 }
Exemplo n.º 3
0
 protected override void MOnEnable()
 {
     base.MOnEnable();
     M_Event.RegisterEvent(LogicEvents.ButtonPress, OnButtonPress);
     M_Event.RegisterEvent(LogicEvents.CreateFeedback, OnCreateFeedback);
     M_Event.RegisterEvent(LogicEvents.FeedFeedBack, OnFeedFeedback);
     M_Event.RegisterEvent(LogicEvents.PlayFeedback, OnCreateFeedback);
     M_Event.RegisterEvent(LogicEvents.AnimalAction, OnAnimalAction);
 }
Exemplo n.º 4
0
    protected override void MOnEnable()
    {
        base.MOnEnable();

//		M_Event.logicEvents [(int)LogicEvents.Death] += OnDeath;
//		M_Event.logicEvents [(int)LogicEvents.DeathEnd] += OnDeathEnd;
        M_Event.logicEvents [(int)LogicEvents.UnlockCamera]   += OnUnlockCamera;
        M_Event.logicEvents [(int)LogicEvents.LockCamera]     += OnLockCamera;
        M_Event.logicEvents [(int)LogicEvents.DisplayThought] += OnDisplayThought;
        M_Event.logicEvents [(int)LogicEvents.HideThought]    += OnHideThought;
//		M_Event.logicEvents [(int)LogicEvents.SwitchThoughtBox] += OnSwitchThoughtBox;
        M_Event.RegisterEvent(LogicEvents.BeginRun, OnBeginRun);
        M_Event.RegisterEvent(LogicEvents.EndRun, OnEndRun);
        M_Event.RegisterEvent(LogicEvents.GirlSayPlayMusic, OnShowMusicPlayer);
        M_Event.RegisterEvent(LogicEvents.PickUpMusicPlayer, OnShowBrokenMusicPlayer);
//		M_Event.RegisterEvent (LogicEvents.InvisibleFromPlayer, OnHideMusicPlayer );
        M_Event.RegisterEvent(LogicEvents.WalkInApartment, OnHideMusicPlayer);
        M_Event.RegisterEvent(LogicEvents.PauseGame, OnPause);
        M_Event.RegisterEvent(LogicEvents.UnpauseGame, OnUnpause);
    }
Exemplo n.º 5
0
 protected override void MOnEnable()
 {
     base.MOnEnable();
     M_Event.RegisterEvent(senseEvent, OnEvent);
 }
Exemplo n.º 6
0
 public void OnEnable()
 {
     M_Event.RegisterEvent(LogicEvents.ActivePlant, OnActive);
 }
Exemplo n.º 7
0
 protected override void MOnEnable()
 {
     base.MOnEnable();
     M_Event.RegisterEvent(showUpEvent, OnShowUp);
     M_Event.RegisterEvent(flowerEvent, OnFlower);
 }
Exemplo n.º 8
0
 void OnEnable()
 {
     MOnEnable();
     M_Event.RegisterEvent(LogicEvents.Pause, Pause);
     M_Event.RegisterEvent(LogicEvents.UnPause, UnPause);
 }
Exemplo n.º 9
0
 protected override void MOnEnable()
 {
     base.MOnEnable();
     M_Event.RegisterEvent(LogicEvents.TrafficGreenLight, OnTrafficLightGreen);
 }
Exemplo n.º 10
0
 protected override void MOnEnable()
 {
     base.MOnEnable();
     M_Event.RegisterEvent(LogicEvents.EnterStreetColorful, EnterStreetColorful);
 }
Exemplo n.º 11
0
 protected override void MOnEnable()
 {
     base.MOnEnable();
     M_Event.RegisterEvent(LogicEvents.FoodReady, OnFoodReady);
 }
Exemplo n.º 12
0
 protected override void MOnEnable()
 {
     base.MOnEnable();
     M_Event.RegisterEvent(LogicEvents.CreateAnimal, OnCreateAnimal);
 }