// Use this for initialization void Start() { Instance = this; CameraSwitch.Lockoff = 0; RotateLock.guiOn = false; OpenDoor.guiOn = false; RotateLock.guiOn = false; OpenDoor.guiOn = false; leaveButton = false; pm = GameObject.Find("Player").GetComponent <PlayerMove>(); lc = GameObject.Find("Lock Camera").GetComponent <Camera>(); mp = GameObject.Find("Painting").GetComponent <MovePainting>(); }
// Use this for initialization void Start() { Instance = this; CameraSwitch.Lockoff = 0; RotateLock.guiOn = false; OpenDoor.guiOn = false; RotateLock.guiOn = false; OpenDoor.guiOn = false; leaveButton = false; pm = GameObject.Find("Player").GetComponent<PlayerMove>(); lc = GameObject.Find("Lock Camera").GetComponent<Camera>(); mp = GameObject.Find("Painting").GetComponent<MovePainting>(); }