Files
LowPolyRPG/Assets/Plugins/RaycastPro/Core/Base/BaseUtility.cs

19 lines
471 B
C#
Raw Normal View History

2025-06-25 11:10:11 +01:00
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
}
}