Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2022-11-12 13:10:03 +01:00

24 lines
671 B
C#

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
}
}
}