diff --git a/Runtime/HumanoidControl/Scripts/HumanoidControl.cs b/Runtime/HumanoidControl/Scripts/HumanoidControl.cs index 3da701a..1cb6d07 100644 --- a/Runtime/HumanoidControl/Scripts/HumanoidControl.cs +++ b/Runtime/HumanoidControl/Scripts/HumanoidControl.cs @@ -397,7 +397,7 @@ namespace Passer.Humanoid { } public virtual void LocalChangeAvatar(GameObject avatarPrefab) { - if (avatarPrefab == null)\ + if (avatarPrefab == null) return; Animator animator = avatarPrefab.GetComponent();