public override void Draw() { base.Draw(); mesh = ScriptableGUIUtils.DrawObjectField("Mesh", mesh); /* color = ScriptableGUIUtils.DrawField("Color", color);*/ material = ScriptableGUIUtils.DrawObjectField("material", material); furnitureType = (FURNITURE)ScriptableGUIUtils.DrawField("furnitureType", furnitureType); Inventory_frameColor = ScriptableGUIUtils.DrawField("Inventory_FrameColor", Inventory_frameColor); Inventory_image = ScriptableGUIUtils.DrawObjectField("Inventory_icon", Inventory_image); isDefault = ScriptableGUIUtils.DrawField("isDefault?", isDefault); ScriptableGUIUtils.DrawList("ItemVariants", variants); }
public override void Draw() { base.Draw(); game_body_prefab = ScriptableGUIUtils.DrawObjectField("game_body_prefab", game_body_prefab); preview_body_prefab = ScriptableGUIUtils.DrawObjectField("preview_body_prefab", preview_body_prefab); gender = (Gender)ScriptableGUIUtils.DrawField("GENDER", gender); body_color = ScriptableGUIUtils.DrawField("body_color", body_color); controller = ScriptableGUIUtils.DrawObjectField("animator_controller", controller); avatar = ScriptableGUIUtils.DrawObjectField("avatar", avatar); isDefault = ScriptableGUIUtils.DrawField("isDefault?", isDefault); bodyIcon = ScriptableGUIUtils.DrawObjectField("bodyIcon", bodyIcon); }
public override void Draw() { base.Draw(); mesh = ScriptableGUIUtils.DrawObjectField("Mesh", mesh); itemObject = EditorGUILayout.ObjectField(itemObject, typeof(GameObject), false) as GameObject; /* material = ScriptableGUIUtils.DrawObjectField("Material", material);*/ gender = (Gender)ScriptableGUIUtils.DrawField("GENDER", gender); bodyPart = (BODY_PART)ScriptableGUIUtils.DrawField("BODYPART", bodyPart); gameMode = (GameMode)ScriptableGUIUtils.DrawField("GameMode", gameMode); Inventory_frameColor = ScriptableGUIUtils.DrawField("Inventory_FrameColor", Inventory_frameColor); Inventory_image = ScriptableGUIUtils.DrawObjectField("Inventory_icon", Inventory_image); ScriptableGUIUtils.DrawList("ItemVariants", variants); ScriptableGUIUtils.DrawList <BodypartToDisable>("BODYPART TO DISABLE", partsToDisable, BodypartToDisable.body_body1); isDefault = ScriptableGUIUtils.DrawField("isDefault?", isDefault); }
public override void Draw() { base.Draw(); gameMode = (GameMode)ScriptableGUIUtils.DrawField("gameMode", gameMode); mapIcon = ScriptableGUIUtils.DrawObjectField("MapIcon", mapIcon); Scene = ScriptableGUIUtils.DrawObjectField("Game Scene", Scene); InterfaceScene = ScriptableGUIUtils.DrawObjectField("Interface Scene", InterfaceScene); ManagersScene = ScriptableGUIUtils.DrawObjectField("Managers Scene", ManagersScene); backGruondMusic = ScriptableGUIUtils.DrawObjectField("BackGroundMusic", backGruondMusic); if (Scene) { SceneName = Scene.name; } else { SceneName = ""; } if (InterfaceScene) { InterfaceSceneName = InterfaceScene.name; } else { InterfaceSceneName = ""; } if (ManagersScene) { ManagersSceneName = ManagersScene?.name; } else { ManagersSceneName = ""; } }