コード例 #1
0
 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>();
 }
コード例 #2
0
    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();
    }
コード例 #3
0
 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();
 }
コード例 #4
0
 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
 }
コード例 #5
0
 private void Start()
 {
     GUIOperations = GameObject.Find("Interface").GetComponent <GUIOperations>();
     muteSound     = bool.Parse(PlayerPrefs.GetString("sound_option"));
     SoundMute(muteSound);
 }
コード例 #6
0
 private void Start()
 {
     Comet         = GetComponent <SpriteRenderer>();
     GUIOperations = GameObject.Find("spaceship").GetComponent <GUIOperations>();
 }
コード例 #7
0
 private void Start()
 {
     staty         = GameObject.Find("spaceship").GetComponent <statystyki>();
     GUIOperations = GameObject.Find("Interface").GetComponent <GUIOperations>();
     healthBar     = GameObject.Find("player_life").GetComponent <SpriteRenderer>();
 }
コード例 #8
0
ファイル: Destroy_bullet.cs プロジェクト: Lelon55/SpaceGame
 private void Start()
 {
     staty         = GameObject.Find("spaceship").GetComponent <statystyki>();
     controlCamera = GameObject.Find("Main Camera").GetComponent <ControlCamera>();
     GUIOperations = GameObject.Find("spaceship").GetComponent <GUIOperations>();
 }