mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
23 lines
671 B
C#
23 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
|
|
}
|
|
}
|
|
}
|