Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }