Ejemplo n.º 1
0
    void Start()
    {
        LeftGateAnchorOff.SetActive(true);
        RightGateAnchorOff.SetActive(true);

        LeftGateAnchorOn.SetActive(false);
        RightGateAnchorOn.SetActive(false);

        LeftFireOrb.GetComponent <MeshRenderer>().material  = fireOff;
        RightFireOrb.GetComponent <MeshRenderer>().material = fireOff;

        LeftFireOrb.SetActive(false);
        RightFireOrb.SetActive(false);

        LeftGateFire.SetActive(false);
        RightGateFire.SetActive(false);

        LeftCanLight  = false;
        RightCanLight = false;
    }
Ejemplo n.º 2
0
 public void ReplaceRightKey()
 {
     RightFireOrb.SetActive(true);
     RightKeySocket.gameObject.transform.position = new Vector3(10, -10, -10);
     RightCanLight = true;
 }