Upload from upload_mods.ps1
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user