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