示例#1
0
    public Process_Player Set_Infor_Player()
    {
        Process_Player process_Player = new Process_Player();

        process_Player.name   = DataMananger.Instance.Get_Name_Player();
        process_Player.sprite = Data_Bot.botNames[Random.Range(0, Data_Bot.botNames.Count)].icon;
        return(process_Player);
    }
示例#2
0
    public void Push_Infor(InforPlayer player)
    {
        Process_Player process = Data_List_Player[index_1];

        player.Sprite_Flag = process.sprite;
        player.namePlayer  = process.name;

        index_1++;
    }
示例#3
0
    public void Push_Infor(GetInfor player)
    {
        Process_Player process = Data_List_Player[index];

        player.Flag.sprite = process.sprite;
        player.Name.text   = process.name;

        index++;
        Debug.Log("index : " + process.name);
    }
示例#4
0
    public Process_Player Set_Random_Infor()
    {
        Process_Player process_Player = new Process_Player();
        var            a = Data_Bot.botNames[Random.Range(0, Data_Bot.botNames.Count)];

        var b = a.botName[Random.Range(0, a.botName.Count)];

        process_Player.sprite = a.icon;
        process_Player.name   = b;
        return(process_Player);
    }