Easy Prefab Override
Tiltgames
$5.00
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
03/19(2018) |
5.0 |
11/15(2024) |
5.0 |
Jump AssetStore
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