11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
工具
1/4
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

Easy Prefab Override

(暂无评分)
10 users have favourite this asset
(10)
$5
席位
1
更新的价格和增值税在结算时计算
退款政策
该资源受Unity资源商店退款政策约束。有关详细信息,请参见《最终用户许可协议》(EULA)中的第2.9.3节。
安全结账方式:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
7 年前
Solves something Unity should have
It lets you mark fields as always overridden. This may seem unnecessary given how prefabs work, but there's a flaw in Unity's prefab design: If you Ap...
许可证类型
文件大小
231.2 KB
最新版本
1.2
最新发布日期
2014年9月16日
原始 Unity 版本
4.5.3
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR