コード例 #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);
 }
コード例 #4
0
 public abstract BallState Enter(BallActor actor);