Skip to content
Snippets Groups Projects
Select Git revision
  • 3ce042efca70260945871154c735b296b072505f
  • 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

ControlOptionsMenue_mobile.cs

Blame
  • ControlOptionsMenue_mobile.cs 9.45 KiB
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    using UnityEngine.UI; //andr
    using UnityEngine.SceneManagement;
    using System.IO; //
    using UnityEngine.Video;//streaming
    using UnityEngine.Networking;
    
    using static UIconfig;
    using static StreamingAssetLoader;
    
    
    public class ControlOptionsMenue_mobile : MonoBehaviour
    {
        public GameObject TouchControlButtonT;
        public GameObject TouchControlButtonUT;
        public GameObject TouchModeButtonT;
        public GameObject TouchModeButtonUT;
        public GameObject TAV_Slider;
        public GameObject TAvisibilityT;
        public GameObject InputSystemModeButtonT;
        public GameObject InputSystemModeButtonUT;
        public Text InputManager_Txt1a;
        public Text InputManager_Txt1b;
    
    
        private Color colChangeable = new Color(1f, 1f, 1f, 0.5f);
        private Color colChangeable2 = new Color(1f, 1f, 1f, 0.5f);
    
        //public GameObject TouchModeButton;
    
    
        //public GameObject back_GObj;
    
        void Start()
        {
            TAV_Slider.GetComponent<Slider>().value = UIconfig.TAvisibility;
            touchAreaVisibilityBttn();
    
            UpdateUI_6();
            InputTXTupdate();
        }
    
        private void Update()
        {
            TAV_Slider.GetComponent<Slider>().value = UIconfig.TAvisibility;
            touchAreaVisibilityBttn();
    
            UpdateUI_6();
        }
    
        public void InputTXTupdate()
        {
            UpdateUI_6();
            InputManager_Txt1a.text = "Movement Forward: "  + "\n" +
                                    "Movement Backward:  " + "\n" +
                                    "Movement Left:      " +  "\n" +
                                    "Movement Right:     " + "\n" +
                                    "Movement Running:   " + "\n" +
                                    "Movement Jump:      " + "\n" +
                                    //"\n" +
                                    "Action 1:           " + "\n" +
                                    "Action 2:           " + "\n" +
                                    "Change Tool:        " + "\n" +
                                    //"\n" +
                                    "Menue Tools:        " + "\n" +
                                    "Menue Mathematics:  " + "\n" +
                                    "Menue Cancel:       " +  "\n" +
                                    //"\n" +