示例#1
0
 // Use this for initialization
 void Start()
 {
     objC    = gameObject.GetComponent <ObjCreator>();
     floorC  = gameObject.GetComponent <FloorCreator>();
     wallC   = gameObject.GetComponent <WallCreator>();
     doorC   = gameObject.GetComponent <DoorCreator>();
     windowC = gameObject.GetComponent <WindowCreator>();
 }
示例#2
0
 public static string LoadModel(int currentType, string sessionID, string hairPath, string hairMaterialPath, string accessoriesPath, string accessoriesMaterialPath, string basePath, string baseMaterialPath, string addonPath1, string addonPath2, string addonPath3, string addonPath4, string addonMaterialPath, int ageValue, int fatValue, int smoothingValue, int size, string orderID)
 {
     try
     {
         var creator = new ObjCreator();
         creator.CreateObj(currentType, sessionID, hairPath, hairMaterialPath, accessoriesPath, accessoriesMaterialPath, basePath, baseMaterialPath, addonPath1, addonPath2, addonPath3, addonPath4, addonMaterialPath, ageValue, fatValue, smoothingValue, size, orderID);
     }
     catch (Exception ex)
     {
         return(ex.Message);
     }
     return(HttpContext.Current.Session.SessionID);
 }
示例#3
0
 public static double GetFaceAngle(string sessionId)
 {
     return(ObjCreator.GetFaceAngle(sessionId));
 }
示例#4
0
        public static string LoadP(string a)
        {
            var creator = new ObjCreator();

            return(creator.Test());
        }