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
It's bad to request users to use [SpineSkin] string skin; and tell them to use FindSkin(skin) and cache the returned Skin reference themselves all the time.
Instead e.g. provide a class which holds both the cached Skin reference and a serialized string (or something similar).
Alternatively, a SerializedAsset analogous to AnimationReferenceAsset could be used. Benefit would be to only cache the skin reference once instead of at each instance.
The text was updated successfully, but these errors were encountered:
It's bad to request users to use
[SpineSkin] string skin;
and tell them to useFindSkin(skin)
and cache the returned Skin reference themselves all the time.Instead e.g. provide a class which holds both the cached
Skin
reference and a serialized string (or something similar).Alternatively, a
SerializedAsset
analogous toAnimationReferenceAsset
could be used. Benefit would be to only cache the skin reference once instead of at each instance.The text was updated successfully, but these errors were encountered: