Esempio n. 1
0
    // Use this for initialization
    void Start()
    {
        theBrain = GameObject.Find("Brain") as GameObject;
        brainScript = theBrain.GetComponent("Brain") as Brain;

        QB = GameObject.Find("QB") as GameObject;
        persuitSack = QB.GetComponent("Throw Ball") as throwBall;

        hasBall = 0;
        persuitHasBallInt = 0;
    }
Esempio n. 2
0
    // Use this for initialization
    void Start()
    {
        theBrain    = GameObject.Find("Brain") as GameObject;
        brainScript = theBrain.GetComponent("Brain") as Brain;

        QB          = GameObject.Find("QB") as GameObject;
        persuitSack = QB.GetComponent("Throw Ball") as throwBall;

        hasBall           = 0;
        persuitHasBallInt = 0;
    }