cvr-props/Assets/ABI.CCK/Components/CVRAdvancedAvatarSettingsPointer.cs

20 lines
609 B
C#
Raw Permalink Normal View History

using UnityEngine;
2023-01-22 16:38:23 +01:00
namespace ABI.CCK.Components
{
[AddComponentMenu("")]
[HelpURL("https://developers.abinteractive.net/cck/components/pointer/")]
2023-01-22 16:38:23 +01:00
public class CVRAdvancedAvatarSettingsPointer : CVRPointer
{
private void OnDrawGizmos()
{
if (!isActiveAndEnabled)
return;
Gizmos.color = Color.cyan;
Matrix4x4 rotationMatrix = Matrix4x4.TRS(transform.position, transform.rotation, Vector3.one);
Gizmos.matrix = rotationMatrix;
Gizmos.DrawSphere(Vector3.zero, 0.015f);
2023-01-22 16:38:23 +01:00
}
}
}