Esempio n. 1
0
    public void OnClick()
    {
        string DeterminedName = MoveCarsorSettings.getPlayerName();
        string TempName       = script.TempName;
        int    Length         = TempName.Length;

        if (Length >= 1 && Length < 17)
        {
            DeterminedName = TempName;
            SceneManager.LoadScene("Settings");
        }
    }
Esempio n. 2
0
    void Update()
    {
        SelectedGender = MoveCarsorSettings.getGender();
        switch (SelectedGender)
        {
        case 0:
            text.text = "男";
            break;

        case 1:
            text.text = "女";
            break;

        case 2:
            text.text = "他";
            break;
        }
    }
Esempio n. 3
0
 void Update()
 {
     SelectedVolume = MoveCarsorSettings.getVolume().ToString();
     text.text      = SelectedVolume + "%";
 }
 void Start()
 {
     MoveCarsorSettings = GameObject.Find("Icon");
     script             = MoveCarsorSettings.GetComponent <MoveCarsorSettings>();
 }
Esempio n. 5
0
    void Update()
    {
        string SelectedLight = MoveCarsorSettings.getLight().ToString();

        text.text = SelectedLight + "%";
    }