示例#1
0
        private void OnEnable()
        {
            Character.Health.DieEvent += OnDead;

            Character.Movement.SetSpeed(Character.Movement.Speed);

            Controller.AddObject(gameObject);
        }
 private void OnEnable()
 {
     Controller.AddObject(gameObject);
 }
示例#3
0
 private void OnEnable()
 {
     gameProxy.AddObject(gameObject);
     gameProxy.TimerEndEvent += Freeze;
 }