예제 #1
0
    // Use this for initialization
    void Start()
    {
        GameObject playerObject = GameObject.FindGameObjectWithTag ("Player");
        rLObject = playerObject.GetComponent<roomsLoaded> ();

        GameObject doorCyan = GameObject.FindGameObjectWithTag ("doorBRCyan");
        cEObject = doorCyan.GetComponent<cyanBRExit> ();

        rLObject.setBlueLock (false);
    }
예제 #2
0
    // Use this for initialization
    void Start()
    {
        GameObject playerObject = GameObject.FindGameObjectWithTag ("Player");
        rLObject = playerObject.GetComponent<roomsLoaded> ();

        GameObject doorMagenta = GameObject.FindGameObjectWithTag ("doorBRMagenta");
        mEObject = doorMagenta.GetComponent<magentaBRExit> ();

        rLObject.setBlueLock (false);
    }