On Late Update#
Component / On Late Update
Description#
Executes every frame after every other update has been executed
Code#
using System;
using UnityEngine;
using VisualScript.Icons;
namespace VisualScript.Runtime
{
[Title("On Late Update")]
[Image(typeof(IconUpdate), ColorTheme.Type.Blue, typeof(Badge2))]
[Description("Executes every frame after every other update has been executed")]
[Category("Component/On Late Update")]
[Keywords("Tick", "Clock", "Every", "Frame")]
[Serializable]
public class TriggerCoreLateUpdate : TriggerHandleSubscriptionBase<HandleLateUpdate>
{
protected override string GetTitle(GameObject source) => "Late Update";
protected override void OnTrigger(GameObject target)
{
using Args args = Args.Get(this.Component, target);
this.Run(args);
}
}
}