You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
671 B
C#

3 years ago
namespace UnityEngine.U2D.Animation
{
internal class SpriteSkinManager
{
// Doing this to hide it from user adding it from Inspector
[DefaultExecutionOrder(-1)]
[ExecuteInEditMode]
internal class SpriteSkinManagerInternal : MonoBehaviour
{
#if ENABLE_ANIMATION_COLLECTION
void LateUpdate()
{
if (SpriteSkinComposite.instance.helperGameObject != gameObject)
{
GameObject.DestroyImmediate(gameObject);
return;
}
SpriteSkinComposite.instance.LateUpdate();
}
#endif
}
}
}