예제 #1
0
    /*****************************************************************************/

    void Awake()
    {
        myGenericFunctionsClassScript = transform.GetComponent <GenericFunctionsClass>();

        myResetButton = GameObject.Find("reset");
        myResetButton.GetComponent <Renderer>().material.color = buttonResetColors[0];
        myWritingScript = GameObject.Find("Black_Board").GetComponent <Writing>();
    }
    /*****************************************************************************/
    void Awake()
    {
        myGenericFunctionsClassScript = transform.GetComponent<GenericFunctionsClass>();

        myResetButton = GameObject.Find("reset");
        myResetButton.GetComponent<Renderer>().material.color = buttonResetColors[0];
        myWritingScript = GameObject.Find("Black_Board").GetComponent<Writing>();
    }
예제 #3
0
    /*****************************************************************************/

    void Awake()
    {
        myGenericFunctionsClassScript = transform.GetComponent <GenericFunctionsClass>();
        isKinematic   = true;
        hasEnded      = false;
        hasStarted    = false;
        resetDisabled = 4f;
    }
    /*****************************************************************************/

    void Awake()
    {
        myGenericFunctionsClassScript = transform.GetComponent <GenericFunctionsClass>();

        rb = hapticCursor.gameObject.GetComponent <Rigidbody>();

        isKinematic = true;
        //myResetButton = GameObject.Find("reset");
        //myResetButton.GetComponent<Renderer>().material.color = buttonResetColors[0];
        //myWritingScript = GameObject.Find("Black_Board").GetComponent<Writing>();
    }
    /*****************************************************************************/

    void Awake()
    {
        myGenericFunctionsClassScript = transform.GetComponent <GenericFunctionsClass>();
    }
 /*****************************************************************************/
 void Awake()
 {
     myGenericFunctionsClassScript = transform.GetComponent<GenericFunctionsClass>();
 }