コード例 #1
0
 public void ChangeGenderMale(bool gender)
 {
     if (gender == true)
     {
         charGender = characterGender.male;
     }
 }
コード例 #2
0
    //public void ChangeSkinUp(int tex)
    //{
    //    if (CharacterCustomisatoin.tex < 3)
    //    {
    //        CharacterCustomisatoin.tex++;
    //        Debug.Log("Skin number =" + CharacterCustomisatoin.tex.ToString());
    //    }
    //    else if (CharacterCustomisatoin.tex >= 3)
    //    {
    //        CharacterCustomisatoin.tex = 1;
    //        Debug.Log("Skin number =" + CharacterCustomisatoin.tex.ToString());
    //    }
    //}

    //public void ChangeSkinDown(int tex)
    //{
    //    if (CharacterCustomisatoin.tex >= 1)
    //    {
    //        CharacterCustomisatoin.tex--;
    //        Debug.Log("Skin number =" + CharacterCustomisatoin.tex.ToString());
    //    }
    //    else if (CharacterCustomisatoin.tex <= 1)
    //    {
    //        CharacterCustomisatoin.tex = 3;
    //    }

    //}

    // Use this for initialization
    void Start()
    {
        // characterState charState;
        charGender = characterGender.none;
    }