Example #1
0
 public void assignBehavior(PowerballBallBehavior _behave, Vector3 initPos, PowerBallSpawner sp)
 {
     spawner = sp;
     behave = _behave;
     rb = GetComponent<Rigidbody>();
     startPos = initPos;
 }
Example #2
0
 public void assignBehavior(PowerballBallBehavior _behave, Vector3 initPos, PowerBallSpawner sp)
 {
     spawner  = sp;
     behave   = _behave;
     rb       = GetComponent <Rigidbody>();
     startPos = initPos;
 }