mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkAnimatorEditor: create GUIContent directly
This commit is contained in:
parent
ca7824bbc1
commit
f3738d87d7
@ -13,7 +13,7 @@ public class NetworkAnimatorEditor : Editor
|
||||
[NonSerialized] bool m_Initialized;
|
||||
|
||||
SerializedProperty m_AnimatorProperty;
|
||||
GUIContent m_AnimatorLabel;
|
||||
GUIContent m_AnimatorLabel = new GUIContent("Animator", "The Animator component to synchronize.");
|
||||
|
||||
void Init()
|
||||
{
|
||||
@ -24,7 +24,6 @@ void Init()
|
||||
m_AnimSync = target as NetworkAnimator;
|
||||
|
||||
m_AnimatorProperty = serializedObject.FindProperty("m_Animator");
|
||||
m_AnimatorLabel = new GUIContent("Animator", "The Animator component to synchronize.");
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
|
Loading…
Reference in New Issue
Block a user