Quantcast
Channel: Answers for "Rename a field without losing inspector values"
Viewing all articles
Browse latest Browse all 6

Answer by Democide

$
0
0
You might want to look into the [FormerlySerializedAs("m_MyVariable")] attribute Blog: http://blogs.unity3d.com/2015/02/03/renaming-serialized-fields/ API: http://docs.unity3d.com/460/Documentation/ScriptReference/Serialization.FormerlySerializedAsAttribute.html

Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images