This commit is contained in:
2026-05-30 10:26:17 +07:00
parent 1c0ee6efb7
commit eb0b5343a9
249 changed files with 17209 additions and 2097 deletions

View File

@@ -50,7 +50,7 @@ namespace Invector.vShooter
if (charObj)
{
charAnimator = charObj.GetComponent<Animator>();
humanoidpreview = Editor.CreateEditor(charObj);
humanoidpreview = UnityEditor.Editor.CreateEditor(charObj);
}
charExist = charAnimator != null;
@@ -109,7 +109,7 @@ namespace Invector.vShooter
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)

View File

@@ -58,7 +58,7 @@ namespace Invector.vShooter
GUILayout.EndVertical();
GUILayout.EndVertical();
GUI.enabled = false;
Editor.DrawPropertiesExcluding(serializedObject, "weaponCategories", propertyBySide[0], propertyBySide[1],"m_Script");
DrawPropertiesExcluding(serializedObject, "weaponCategories", propertyBySide[0], propertyBySide[1],"m_Script");
GUI.enabled = true;
if (GUI.changed) serializedObject.ApplyModifiedProperties();
}