From f0f1d830651f3737030e258dc86b42a37baa1bca Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 2 Jul 2022 18:23:46 +0800 Subject: * change directory --- .../Assets/JamUtils/Scripts/Utils/GizmosHandle.cs | 42 ---------------------- 1 file changed, 42 deletions(-) delete mode 100644 JamHelper/Assets/JamUtils/Scripts/Utils/GizmosHandle.cs (limited to 'JamHelper/Assets/JamUtils/Scripts/Utils/GizmosHandle.cs') diff --git a/JamHelper/Assets/JamUtils/Scripts/Utils/GizmosHandle.cs b/JamHelper/Assets/JamUtils/Scripts/Utils/GizmosHandle.cs deleted file mode 100644 index 1c4c205..0000000 --- a/JamHelper/Assets/JamUtils/Scripts/Utils/GizmosHandle.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace JamUtils -{ - - public class GizmosHandle : MonoBehaviour - { - public Action onDrawGizmos; - - private static GizmosHandle m_Instance; - - public static GizmosHandle Instance - { - get - { - return m_Instance; - } - } - - public void DoGizmos(Action doGizmos) - { - onDrawGizmos += doGizmos; - } - - private void Awake() - { - m_Instance = this; - } - - private void OnDrawGizmos() - { - if (onDrawGizmos != null) - onDrawGizmos(); - onDrawGizmos = null; - } - - } - -} -- cgit v1.1-26-g67d0