// Start is called before the first frame update void Start() { cstPan = GameObject.Find("CustomizationPanel").GetComponent <CustomizationPanel>(); cameraScript = GameObject.Find("CustomizationPanel").GetComponent <CameraView>(); tableDrawer = GameObject.Find("Table").GetComponent <Animator>(); drawerAnimator = GameObject.Find("Chest of drawers").GetComponent <Animator>(); }
// Start is called before the first frame update void Start() { cstPan = GameObject.Find("CustomizationPanel").GetComponent <CustomizationPanel>(); disableScript = GameObject.Find("Game Controller").GetComponent <disableAllClicks>(); cameraScript = GameObject.Find("CustomizationPanel").GetComponent <CameraView>(); }