Files
7d2dXG/XG-Rebirth/Mods/0A-KFCommonUtilityLib/KFAttached/Animation/MonoBehaviours/AnimationDelayRenderReference.cs
2025-05-30 00:19:27 +09:30

25 lines
544 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
[AddComponentMenu("")]
internal class AnimationDelayRenderReference : MonoBehaviour
{
#if NotEditor
internal HashSet<AnimationDelayRender> targets = new HashSet<AnimationDelayRender>();
private void OnPreCull()
{
if (targets.Count > 0)
{
foreach (var target in targets)
{
target.PreCullCallback();
}
}
}
#endif
}