private void Start() { menu = GameObject.Find("Main Camera").GetComponent <GUIGame>(); controlCamera = GameObject.Find("Main Camera").GetComponent <ControlCamera>(); GUIOperations = GameObject.Find("spaceship").GetComponent <GUIOperations>(); Skins = GameObject.Find("spaceship").GetComponent <Skins>(); }
private void Start() { GUIPlanetOperations = GameObject.Find("Interface").GetComponent <GUIPlanetOperations>(); staty = GameObject.Find("Scripts").GetComponent <statystyki>(); GUIoper = GameObject.Find("Interface").GetComponent <GUIOperations>(); PlanetName.text = staty.Get_String_Data_From("Planet_Name"); SetAdmiralName(); }
private void Start() { SetPageID(0); stats = GameObject.Find("Scripts").GetComponent <statystyki>(); ScoutProposition = GetComponent <ScoutProposition>(); MembersList = GetComponent <MembersList>(); GUIoper = GameObject.Find("Interface").GetComponent <GUIOperations>(); GUIPlanetOperations = GameObject.Find("Interface").GetComponent <GUIPlanetOperations>(); Work(); }
private void Start() { #region Start GUIoper = GameObject.Find("Interface").GetComponent <GUIOperations>(); Ads = GameObject.Find("Scripts").GetComponent <Ads>(); stats = GameObject.Find("Scripts").GetComponent <statystyki>(); on_off_cost[0] = GameObject.Find("Cost"); on_off_cost[1] = GameObject.Find("CostAntymatery"); txtMetalCost = GameObject.Find("txtMetalInformationBuyer").GetComponent <Text>(); txtCrystalCost = GameObject.Find("txtCrystalInformationBuyer").GetComponent <Text>(); txtDeuterCost = GameObject.Find("txtDeuterInformationBuyer").GetComponent <Text>(); txtAntymateries = GameObject.Find("txtAntymaterylInformationBuyer").GetComponent <Text>(); txtSubjectName = GameObject.Find("txtSubjectNameInformationBuyer").GetComponent <Text>(); txtSubjectDescription = GameObject.Find("txtDescriptionInformationBuyer").GetComponent <Text>(); Image = GameObject.Find("imgInformationBuyer").GetComponent <Image>(); #endregion }
private void Start() { GUIOperations = GameObject.Find("Interface").GetComponent <GUIOperations>(); muteSound = bool.Parse(PlayerPrefs.GetString("sound_option")); SoundMute(muteSound); }
private void Start() { Comet = GetComponent <SpriteRenderer>(); GUIOperations = GameObject.Find("spaceship").GetComponent <GUIOperations>(); }
private void Start() { staty = GameObject.Find("spaceship").GetComponent <statystyki>(); GUIOperations = GameObject.Find("Interface").GetComponent <GUIOperations>(); healthBar = GameObject.Find("player_life").GetComponent <SpriteRenderer>(); }
private void Start() { staty = GameObject.Find("spaceship").GetComponent <statystyki>(); controlCamera = GameObject.Find("Main Camera").GetComponent <ControlCamera>(); GUIOperations = GameObject.Find("spaceship").GetComponent <GUIOperations>(); }