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

Public Member Functions

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

Private Member Functions

void AffirmStyles ()
 
GUIContent StatusContent (SerializedProperty property)
 
Vector2 StatusSize (GUIContent content)
 

Private Attributes

GUIStyle RichTextStyle
 

Static Private Attributes

const string HelpText
 
static readonly Texture InfoIcon = EditorGUIUtility.IconContent("console.infoicon.sml").image
 
static readonly Texture WarningIcon = EditorUtils.LoadImage("NotFound.png")
 

Member Function Documentation

◆ AffirmStyles()

void FMODUnity.LegacyEventRefDrawer.AffirmStyles ( )
private

◆ GetPropertyHeight()

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

◆ OnGUI()

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

◆ StatusContent()

GUIContent FMODUnity.LegacyEventRefDrawer.StatusContent ( SerializedProperty property)
private

◆ StatusSize()

Vector2 FMODUnity.LegacyEventRefDrawer.StatusSize ( GUIContent content)
private

Member Data Documentation

◆ HelpText

const string FMODUnity.LegacyEventRefDrawer.HelpText
staticprivate
Initial value:
=
"This field has the <b>[EventRef]</b> attribute, which is obsolete.\n" +
"To resolve this issue:\n" +
"* Add a field of type <b>EventReference</b> to this class\n" +
"* Set the <b>MigrateTo</b> property on the <b>[EventRef]</b> attribute: " +
"<b>[EventRef(MigrateTo=\"<fieldname>\")]</b>\n" +
"* Run the <b>" + EventReferenceUpdater.MenuPath + "</b> command to " +
"automatically migrate values from this field to the <b>EventReference</b> field"
const string MenuPath
Definition EventReferenceUpdater.cs:20

◆ InfoIcon

readonly Texture FMODUnity.LegacyEventRefDrawer.InfoIcon = EditorGUIUtility.IconContent("console.infoicon.sml").image
staticprivate

◆ RichTextStyle

GUIStyle FMODUnity.LegacyEventRefDrawer.RichTextStyle
private

◆ WarningIcon

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

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