void Start() { ballController = GameObject.FindGameObjectWithTag ("BallController").GetComponent<Ball_Controller> (); playerHoldingBall = this.gameObject.GetComponent<Player_HoldingBall> (); playerController = this.gameObject.GetComponent<Player_Movement> (); throwSpeed = 10.0f; throwPower = 0.25f; playerTransform = this.transform; }
void Start() { ballController = GameObject.FindGameObjectWithTag("BallController").GetComponent <Ball_Controller> (); playerHoldingBall = this.gameObject.GetComponent <Player_HoldingBall> (); playerController = this.gameObject.GetComponent <Player_Movement> (); throwSpeed = 10.0f; throwPower = 0.25f; playerTransform = this.transform; }