Esempio n. 1
0
        string EraseBack;    //帰ってきたテキストからいらない文字を消す(後方)


        /*public void Awake()
         * {
         *  User_id = PlayerPrefs.GetString(UserDataKey.UserID_Key);
         *  StartCoroutine(Method(User_id));
         * }*/

        private void Start()
        {
            userNameText  = ObjectFind.ChildFind("UserData", ObjectFind.ChildFind("Name", transform)).gameObject.GetComponent <Text>();
            HaveMoneyText = ObjectFind.ChildFind("HaveMoney", ObjectFind.ChildFind("Money", transform)).gameObject.GetComponent <Text>();

            GetUserData();
        }
Esempio n. 2
0
 // Start is called before the first frame update
 private void Start()
 {
     goalUI = ObjectFind.ChildFind("GoalUI", transform);
     goalUI.gameObject.SetActive(false);
     resultUI = ObjectFind.ChildFind("ResultUI", transform);
     resultUI.gameObject.SetActive(false);
 }
        private void Start()
        {
            userNameText  = ObjectFind.ChildFind("UserData", ObjectFind.ChildFind("Name", transform)).gameObject.GetComponent <Text>();
            userBirthText = ObjectFind.ChildFind("UserData", ObjectFind.ChildFind("Birth", transform)).gameObject.GetComponent <Text>();
            userPrefText  = ObjectFind.ChildFind("UserData", ObjectFind.ChildFind("Pref", transform)).gameObject.GetComponent <Text>();

            GetUserData();
        }
Esempio n. 4
0
        private Text score_num; // スコア変数

        // 初期化時の処理
        void Start()
        {
            // スコアのロード
            //score_num = PlayerPrefs.GetInt("SCORE", 1000);
            score_num = ObjectFind.ChildFind("HaveMoney", ObjectFind.ChildFind("Money", transform)).gameObject.GetComponent <Text>();

            Debug.Log(score_num.text);

            GetMoney();
        }
Esempio n. 5
0
 private void Awake()
 {
     registerUI           = ObjectFind.ChildFind("Register", transform);
     noRegisterUI         = ObjectFind.ChildFind("UserInfomation", transform);
     userLoginInterfaceUI = ObjectFind.ChildFind("UserLoginInterface", transform);
 }