Files
LowPolyRPG/Assets/Plugins/RaycastPro/Core/Base/BaseUtility.cs
Caleb Sandford deQuincey 715fb68744 Initial commitment
2025-06-25 11:10:11 +01:00

19 lines
471 B
C#

namespace RaycastPro
{
#if UNITY_EDITOR
using Editor;
using UnityEditor;
#endif
public abstract class BaseUtility : RaycastCore
{
protected void Update() { if (autoUpdate == UpdateMode.Normal) OnCast(); }
protected void LateUpdate() { if (autoUpdate == UpdateMode.Late) OnCast(); }
protected void FixedUpdate() { if (autoUpdate == UpdateMode.Fixed) OnCast(); }
#if UNITY_EDITOR
#endif
}
}