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)); } }
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(); }
public TPoseEditor_Female(IFbxItem _objBase, ECharacterResType type) : base(_objBase, type) { }
public TPoseEditor(IFbxItem _objBase, ECharacterResType type) { objBase = _objBase; resType = type; }
public FaceEditor(IFbxItem go, ECharacterResType type) : base(go, type) { }