Skip to content
Snippets Groups Projects
Select Git revision
  • 98bf836d333956d8fabb7b264d83277e57c23a6b
  • master default
  • JS-based-scroll-rendering
  • Paul_Marius_Level
  • Paul_Marius_2
  • Paul_Marius
  • Andi_Mark
  • be-UnityWebView
  • gitignoreFrameitServer
  • ZimmerBSc
  • Bugfix_StageLoading
  • stages
  • MAZIFAU_Experimental
  • tsc/coneworld
  • tsc/fact-interaction
  • marcel
  • MaZiFAU_TopSort
  • mergeHelper
  • zwischenSpeichern
  • tempAndrToMaster
  • SebBranch
  • 3.0
  • v2.1
  • v2.0
  • v1.0
25 results

SelectNetwServer_mobile.cs

Blame
  • SelectNetwServer_mobile.cs 13.81 KiB
    using UnityEngine;
    using UnityEngine.UI; //andr
    using static StreamingAssetLoader;
    using static UIconfig;
    
    public class SelectNetwServer_mobile : MonoBehaviour
    {
        public GameObject LPS_B_GObj;
        public GameObject Slot1_B_GObj;
        public GameObject Slot2_B_GObj;
        public GameObject Slot3_B_GObj;
        public GameObject Slot4_B_GObj;
        public GameObject Slot5_B_GObj;
    
        private Color32 firstColB;
        private float transCol;
        private ColorBlock tempColB;
    
    
        void Start()
        {
            Update();
        }
    
        private void Update()
        {
    
            UpdateUI_1_f();
            UpdateUI_3_f();
            UpdateUI_4_f();
    
            UpdateUI_5_f();
    
            UpdateUI_7_f();
            UpdateUI_8_f();
        }
    
        public void SlotLPS()
        {
    
            //CommunicationEvents.ServerAdress = "http://" +  CommunicationEvents.ServerAddress1;
    
    
            CommunicationEvents.ServerRunningA[6] = CommunicationEvents.ServerRunningA[1];
            CommunicationEvents.selecIP = CommunicationEvents.lastIP;
            CommunicationEvents.IPcheckGeneration++;
            NetworkJSON_Save();
    
            //SceneManager.LoadScene("Andr_TreeWorld");       
            //SceneManager.LoadScene("MainMenue");
    
    
        }
    
        public void Slot1()
        {
    
            //CommunicationEvents.ServerAdress = "http://" +  CommunicationEvents.ServerAddress1;
    
            CommunicationEvents.ServerRunningA[6] = CommunicationEvents.ServerRunningA[3];
            CommunicationEvents.selecIP = CommunicationEvents.IPslot1;
            CommunicationEvents.IPcheckGeneration++;
            NetworkJSON_Save();
    
            //SceneManager.LoadScene("Andr_TreeWorld");       
            //SceneManager.LoadScene("MainMenue");
    
    
        }