Ejemplo n.º 1
0
 protected override void AfterEnter()
 {
     base.AfterEnter();
     InputReciver.SubscribeOnInputAxis(Move);
     _stairs = _executor.Stairs;
     if (IsOnStairs)
     {
         _transform.position = IsOnStairsTop ? _stairs.TopBound : _stairs.BotBound;
     }
 }
Ejemplo n.º 2
0
 protected override void AfterEnter()
 {
     base.AfterEnter();
     InputReciver.SubscribeOnInputAxis(Move);
 }