Publisher | Tiltgames |
---|---|
File size | 231.15kB |
Number of files | 7 |
Latest version | 1 |
Latest release date | 2014-09-16 08:20:16 |
First release date | 2014-09-16 08:20:16 |
Supported Unity versions | 2018.4.2 or higher |
The purpose of 'EasyPreFabOverride' is to prevent fields of a Prefab-Instance to change, even if the PreFab field changes.
This is very useful to specialize Prefab-Instances in your levels. Even if you hit 'Apply' on one of the Prefab-Instances by accident
the fields of your other Instances won't change.
It's very simple to use. Simply set a '[PreFabOverride]'-Attribute to your fields of your C#-Monoscript and these field will be always overridden (marked as bold) in the inspector.
Info: This plugin uses a custom editor script for Monobehaviours. If you have your own custom inspectors you can quite easily implement the funcionality by adding 'PreFabOverride.MakeFieldsOverride (target);' to the 'OnInspectorGUI ()' of your inspector script.
Features
- Works with private and public fields
- Works with Float, Integer, String, Boolean, Vector2, Vector3, Vector4, Color fields and Enums
- Edit multiple Objects supported
- Full source code included
- Example scene included
It's very simple to use. Simply set a '[PreFabOverride]'-Attribute to your fields of your C#-Monoscript and these field will be always overridden (marked as bold) in the inspector.
Info: This plugin uses a custom editor script for Monobehaviours. If you have your own custom inspectors you can quite easily implement the funcionality by adding 'PreFabOverride.MakeFieldsOverride (target);' to the 'OnInspectorGUI ()' of your inspector script.
Features
- Works with private and public fields
- Works with Float, Integer, String, Boolean, Vector2, Vector3, Vector4, Color fields and Enums
- Edit multiple Objects supported
- Full source code included
- Example scene included