예제 #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;
    }
예제 #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;
    }