コード例 #1
0
ファイル: WolfAndSheep_Main.cs プロジェクト: PDK13/RacingGame
    private void Start()
    {
        cl_Firebase = new Class_Firebase();

        if (cl_Firebase.Get_FirebaseAuth_Login())
        {
            t_DisplayName.text = cl_Firebase.Get_FirebaseAuth_DisplayName();
        }

        cl_Scene = new Class_Scene(true);
    }
コード例 #2
0
    //Method

    private void Start()
    {
        cl_Firebase = new Class_Firebase();

        cl_Scene = new Class_Scene();

        s_Room  = cl_Scene.Get_PlayerPrefs_String("_RoomName");
        s_ID    = cl_Scene.Get_PlayerPrefs_String("_GameID");
        s_Type  = cl_Scene.Get_PlayerPrefs_String("_GameType");
        i_Sheep = cl_Scene.Get_PlayerPrefs_Int("_GameSheep");

        l_Game_ID   = new List <string>();
        l_Game_Name = new List <string>();
        l_Game_Load = new List <string>();
    }
コード例 #3
0
ファイル: WolfAndSheep_Room.cs プロジェクト: PDK13/RacingGame
    //Method

    private void Start()
    {
        cl_Firebase = new Class_Firebase();

        cl_Scene = new Class_Scene();

        //Get if ME is WOLF
        b_Wolf = (cl_Scene.Get_PlayerPrefs_String("_RoomType") == "Wolf");

        //Get Room Name
        s_Room      = cl_Scene.Get_PlayerPrefs_String("_RoomName");
        t_Room.text = s_Room;

        l_Room_ID   = new List <string>();
        l_Room_Name = new List <string>();
        l_Room_Type = new List <string>();
    }