You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spine's Animation class is under the Spine namespace. So it's actually Spine.Animation. Unity (3.xx?) doesn't support namespaces for components (especially MonoBehaviour derived classes) but it's fine for classes like this acting as data structures, like most of the classes are in base Spine-C#.
Either way. Spine.Animation isn't a Unity component and it's certainly not a MonoBehaviour. So that warning actually makes no sense since you wouldn't be calling AddComponent or GetComponent with a Spine.Animation instance.
It is kind of annoying that MonoDevelop-Unity highlights Animation and AnimationState as if they were reserved keywords though.
Getting warnings from unity on the "Animation" class name:
Script 'Animation' has the same name as built-in Unity component.
AddComponent and GetComponent will not work with this script.
maybe worth changing to SpineAnimation?
The text was updated successfully, but these errors were encountered: