Exemple #1
0
 public static TPoseEditor Creat(EnumCharacterType sex, IFbxItem objBase, ECharacterResType type)
 {
     if (sex == EnumCharacterType.Charater_Female)
     {
         return(new TPoseEditor_Female(objBase, type));
     }
     else
     {
         return(new TPoseEditor_Male(objBase, type));
     }
 }
Exemple #2
0
    public BaseClothItemEditor(IFbxItem _go, ECharacterResType type)
    {
        resType    = type;
        gameObject = _go.Load <GameObject>();
        if (gameObject.name == CharacterConst.Female)
        {
            baseFold = string.Format("{0}/{1}/{2}/{3}", CharacterConst.prefabPath, resType.ToString(), CharacterConst.Female, CharacterConst.Base);
        }
        else if (gameObject.name == CharacterConst.Male)
        {
            baseFold = string.Format("{0}/{1}/{2}/{3}", CharacterConst.prefabPath, resType.ToString(), CharacterConst.Male, CharacterConst.Base);
        }

        uMaterial = new EditorUmaMaterial_Base();
    }
Exemple #3
0
 public TPoseEditor_Female(IFbxItem _objBase, ECharacterResType type)
     : base(_objBase, type)
 {
 }
Exemple #4
0
 public TPoseEditor(IFbxItem _objBase, ECharacterResType type)
 {
     objBase = _objBase;
     resType = type;
 }
Exemple #5
0
 public FaceEditor(IFbxItem go, ECharacterResType type) : base(go, type)
 {
 }