cvr-props/Assets/ABI.CCK/Components/CVRPointer.cs
2023-01-22 16:38:23 +01:00

20 lines
No EOL
546 B
C#
Executable file

using UnityEngine;
namespace ABI.CCK.Components
{
public class CVRPointer : MonoBehaviour
{
public string type;
private void OnDrawGizmos()
{
if (isActiveAndEnabled)
{
Gizmos.color = Color.blue;
Matrix4x4 rotationMatrix = Matrix4x4.TRS(transform.position, transform.rotation, Vector3.one);
Gizmos.matrix = rotationMatrix;
Gizmos.DrawSphere(Vector3.zero, 0.015f);
}
}
}
}