Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
FMODUnity.EventReferenceDrawer Class Reference

Classes

class  MismatchInfo
 

Public Member Functions

override void OnGUI (Rect position, SerializedProperty property, GUIContent label)
 
override float GetPropertyHeight (SerializedProperty property, GUIContent label)
 

Static Private Member Functions

static Vector2 WarningSize ()
 
static float GetBaseHeight ()
 
static void HandleDragEvents (Rect position, SerializedProperty property)
 
static void DrawMismatchUI (Rect rect, float repairButtonX, float repairButtonWidth, MismatchInfo mismatch, SerializedProperty property)
 
static MismatchInfo GetMismatch (EventReference eventReference, EditorEventRef editorEventRef)
 
static void SetEvent (SerializedProperty property, string path)
 
static SerializedProperty GetGuidProperty (SerializedProperty property)
 
static SerializedProperty GetPathProperty (SerializedProperty property)
 
static EditorEventRef GetEditorEventRef (EventReference eventReference)
 
static EditorEventRef GetRenamedEventRef (EventReference eventReference)
 

Static Private Attributes

static readonly Texture RepairIcon = EditorUtils.LoadImage("Wrench.png")
 
static readonly Texture WarningIcon = EditorUtils.LoadImage("NotFound.png")
 
static readonly GUIContent NotFoundWarning = new GUIContent("Event Not Found", WarningIcon)
 
static GUIStyle buttonStyle
 

Member Function Documentation

◆ DrawMismatchUI()

static void FMODUnity.EventReferenceDrawer.DrawMismatchUI ( Rect rect,
float repairButtonX,
float repairButtonWidth,
MismatchInfo mismatch,
SerializedProperty property )
staticprivate

◆ GetBaseHeight()

static float FMODUnity.EventReferenceDrawer.GetBaseHeight ( )
staticprivate

◆ GetEditorEventRef()

static EditorEventRef FMODUnity.EventReferenceDrawer.GetEditorEventRef ( EventReference eventReference)
staticprivate

◆ GetGuidProperty()

static SerializedProperty FMODUnity.EventReferenceDrawer.GetGuidProperty ( SerializedProperty property)
staticprivate

◆ GetMismatch()

static MismatchInfo FMODUnity.EventReferenceDrawer.GetMismatch ( EventReference eventReference,
EditorEventRef editorEventRef )
staticprivate

◆ GetPathProperty()

static SerializedProperty FMODUnity.EventReferenceDrawer.GetPathProperty ( SerializedProperty property)
staticprivate

◆ GetPropertyHeight()

override float FMODUnity.EventReferenceDrawer.GetPropertyHeight ( SerializedProperty property,
GUIContent label )

◆ GetRenamedEventRef()

static EditorEventRef FMODUnity.EventReferenceDrawer.GetRenamedEventRef ( EventReference eventReference)
staticprivate

◆ HandleDragEvents()

static void FMODUnity.EventReferenceDrawer.HandleDragEvents ( Rect position,
SerializedProperty property )
staticprivate

◆ OnGUI()

override void FMODUnity.EventReferenceDrawer.OnGUI ( Rect position,
SerializedProperty property,
GUIContent label )

◆ SetEvent()

static void FMODUnity.EventReferenceDrawer.SetEvent ( SerializedProperty property,
string path )
staticprivate

◆ WarningSize()

static Vector2 FMODUnity.EventReferenceDrawer.WarningSize ( )
staticprivate

Member Data Documentation

◆ buttonStyle

GUIStyle FMODUnity.EventReferenceDrawer.buttonStyle
staticprivate

◆ NotFoundWarning

readonly GUIContent FMODUnity.EventReferenceDrawer.NotFoundWarning = new GUIContent("Event Not Found", WarningIcon)
staticprivate

◆ RepairIcon

readonly Texture FMODUnity.EventReferenceDrawer.RepairIcon = EditorUtils.LoadImage("Wrench.png")
staticprivate

◆ WarningIcon

readonly Texture FMODUnity.EventReferenceDrawer.WarningIcon = EditorUtils.LoadImage("NotFound.png")
staticprivate

The documentation for this class was generated from the following file: