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