This commit is contained in:
Ferlat Thibaud
2026-06-02 12:54:29 +02:00
2 changed files with 4 additions and 0 deletions
@@ -53,6 +53,7 @@ namespace OctoCore.Components
void OnDrawGizmos()
{
#if UNITY_EDITOR
UnityEditor.Handles.color = Color.cyan;
const float size = .3f;
@@ -69,6 +70,7 @@ namespace OctoCore.Components
UnityEditor.Handles.matrix = _references.LookAt.localToWorldMatrix;
UnityEditor.Handles.DrawWireCube(Vector3.zero, Vector3.one * size * .75f);
}
#endif
}
void Start()
@@ -25,11 +25,13 @@ namespace OctoCore
void OnDrawGizmos()
{
#if UNITY_EDITOR
UnityEditor.Handles.color = Color.cyan;
UnityEditor.Handles.matrix = transform.localToWorldMatrix;
UnityEditor.Handles.DrawWireDisc(Vector3.zero, Vector3.up, _settings.MinRadius);
UnityEditor.Handles.DrawWireDisc(Vector3.zero, Vector3.up, _settings.MaxRadius);
#endif
}
void Start()