예제 #1
0
 public override BallState Enter(BallActor actor)
 {
     _actor = actor;
     _actor.SetColor(Color.red);
     startScale = actor.transform.localScale;
     return(null);
 }
예제 #2
0
 public override BallState Enter(BallActor actor)
 {
     _actor = actor;
     _actor.SetColor(Color.cyan);
     _startScale = _actor.transform.localScale;
     _actor.transform.localScale *= .5f;
     return(null);
 }
예제 #3
0
 public override BallState Enter(BallActor actor)
 {
     _actor = actor;
     _actor.SetColor(Color.blue);
     return(null);
 }