Exemplo n.º 1
0
    void AddCharToList(CharacterClass.charName charName, bool _available, string charPortraitDir, string charPrefabDir, string toolTip)
    {
        Char_Pick_DataClass capture = new Char_Pick_DataClass();

        capture.characterName   = charName;
        capture._available      = _available;
        capture.charPortraitDir = charPortraitDir;
        capture.toolTip         = toolTip;
        capture.charPrefabDir   = charPrefabDir;
        charPickList.Add(capture);
    }
Exemplo n.º 2
0
    public Char_Pick_DataClass Constructor()
    {
        Char_Pick_DataClass capture = new Char_Pick_DataClass();

        capture.characterName   = characterName;
        capture._available      = _available;
        capture.charPortraitDir = charPortraitDir;
        capture.charPrefabDir   = charPrefabDir;
        capture.toolTip         = toolTip;
        return(capture);
    }