Update
This commit is contained in:
@@ -38,7 +38,7 @@ namespace Invector.vCharacterController
|
||||
if (charObj)
|
||||
{
|
||||
charAnimator = charObj.GetComponent<Animator>();
|
||||
humanoidpreview = Editor.CreateEditor(charObj);
|
||||
humanoidpreview = UnityEditor.Editor.CreateEditor(charObj);
|
||||
}
|
||||
|
||||
charExist = charAnimator != null;
|
||||
@@ -90,7 +90,7 @@ namespace Invector.vCharacterController
|
||||
|
||||
if (GUI.changed && charObj != null && charObj.GetComponent<vThirdPersonController>() == null)
|
||||
{
|
||||
humanoidpreview = Editor.CreateEditor(charObj);
|
||||
humanoidpreview = UnityEditor.Editor.CreateEditor(charObj);
|
||||
}
|
||||
|
||||
if (charObj != null && charObj.GetComponent<vThirdPersonController>() != null)
|
||||
|
||||
Reference in New Issue
Block a user