revival/game/Assets/Plugins/FMOD/src/Editor/StudioEventEmitterGizmoDraw...

15 lines
453 B
C#
Raw Normal View History

2021-02-22 16:25:38 +01:00
using UnityEngine;
using UnityEditor;
namespace FMODUnity
{
public class StudioEventEmitterGizoDrawer
{
[DrawGizmo(GizmoType.Selected | GizmoType.Active | GizmoType.NotInSelectionHierarchy | GizmoType.Pickable)]
static void DrawGizmo(StudioEventEmitter studioEmitter, GizmoType gizmoType)
{
Gizmos.DrawIcon(studioEmitter.transform.position, "FMOD/FMODEmitter.tiff", true);
}
}
}