Search Results for

    Show / Hide Table of Contents

    Class SerializedPropertyExtensions

    Inheritance
    Object
    SerializedPropertyExtensions
    Namespace: Surfer
    Assembly: cs.temp.dll.dll
    Syntax
    public static class SerializedPropertyExtensions

    Methods

    AddCustomUserFields(SerializedProperty, ref Rect, List<PathField>, ref SerializedProperty)

    Declaration
    public static void AddCustomUserFields(this SerializedProperty prop, ref Rect pos, List<PathField> fields, ref SerializedProperty vals)
    Parameters
    Type Name Description
    SerializedProperty prop
    Rect pos
    List<PathField> fields
    SerializedProperty vals

    AddField<T>(SerializedProperty, ref Rect, SerializedProperty, Boolean)

    Declaration
    public static void AddField<T>(this SerializedProperty prop, ref Rect pos, SerializedProperty fieldProperty, bool inParent = false)
        where T : Component
    Parameters
    Type Name Description
    SerializedProperty prop
    Rect pos
    SerializedProperty fieldProperty
    Boolean inParent
    Type Parameters
    Name Description
    T

    AddGOField(SerializedProperty, ref Rect, SerializedProperty)

    Declaration
    public static void AddGOField(this SerializedProperty prop, ref Rect pos, SerializedProperty fieldProperty)
    Parameters
    Type Name Description
    SerializedProperty prop
    Rect pos
    SerializedProperty fieldProperty

    AddIntList(SerializedProperty, ref Rect, String[])

    Declaration
    public static void AddIntList(this SerializedProperty prop, ref Rect pos, string[] list)
    Parameters
    Type Name Description
    SerializedProperty prop
    Rect pos
    String[] list

    AddValueField(SerializedProperty, ref Rect, Int32, GUIContent)

    Declaration
    public static void AddValueField(this SerializedProperty prop, ref Rect pos, int position = 2, GUIContent content = null)
    Parameters
    Type Name Description
    SerializedProperty prop
    Rect pos
    Int32 position
    GUIContent content

    GetCanvasEvents(SerializedProperty)

    Declaration
    public static string[] GetCanvasEvents(this SerializedProperty property)
    Parameters
    Type Name Description
    SerializedProperty property
    Returns
    Type Description
    String[]

    GetUIToolkitEvents(SerializedProperty)

    Declaration
    public static string[] GetUIToolkitEvents(this SerializedProperty property)
    Parameters
    Type Name Description
    SerializedProperty property
    Returns
    Type Description
    String[]

    IsFromToolkitCp(SerializedProperty)

    Declaration
    public static bool IsFromToolkitCp(this SerializedProperty property)
    Parameters
    Type Name Description
    SerializedProperty property
    Returns
    Type Description
    Boolean

    ResetToolkitIndentation(SerializedProperty, Action)

    Declaration
    public static void ResetToolkitIndentation(this SerializedProperty property, Action OnReset = null)
    Parameters
    Type Name Description
    SerializedProperty property
    Action OnReset
    In This Article
    Back to top Copyright © 2021 ATStudio