public Ball(GameObject obj) { this._ball = obj; this._transform = obj.transform; // this._ball.SetActive(false); RandomPos(); this._ballRotation = this._ball.GetComponent <BallRotation>(); }
private void Awake() { a_BallRotation = this; }
public Ball(GameObject obj) { this._ball = obj; this._transform = obj.transform; // this._ball.SetActive(false); RandomPos(); this._ballRotation = this._ball.GetComponent <BallRotation>(); }
private void Awake() { a_BallRotation = this; }