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