// Use this for initialization void Start() { vcam = FindObjectOfType <CinemachineVirtualCamera>().GetCinemachineComponent <CinemachineComposer>(); Ydefault = vcam.m_ScreenY; Xdefault = vcam.m_ScreenX; buto = FindObjectOfType <ExplorationNav>(); zoom = GetComponent <CinemachineFollowZoom>(); camMove = FindObjectOfType <CameraSnapTo>(); }
private void Start() { // grab all objects with the pause tag pauseItems = GameObject.FindGameObjectsWithTag("ShowOnPause"); //Grab buto buto = GameObject.Find("Buto_Exploration").GetComponent <ExplorationNav>(); // don't bother deactivating pause objects, it does it for you automatically here HidePaused(); }
// Use this for initialization void Start() { buto = FindObjectOfType <ExplorationNav>(); // Values for testing FearPower = SaveData.current.FearPower; JoyPower = SaveData.current.JoyPower; DespairPower = SaveData.current.DespairPower; PeacePower = SaveData.current.PeacePower; RagePower = SaveData.current.RagePower; WonderPower = SaveData.current.WonderPower; UpdatePowerSelection(); CurrentlySelectedPower = "None"; }
// Use this for initialization void Start() { flowchart = FindObjectOfType <Flowchart>(); player = GameObject.FindGameObjectWithTag("Player").GetComponent <ExplorationNav>(); power = FindObjectOfType <EmotionWheel>(); }
private void Start() { nav = FindObjectOfType <ExplorationNav>(); hover = nav.hoverPar.transform; }
private void Start() { nav = FindObjectOfType <ExplorationNav>(); }