⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class NeoFpsEditorUtility

    Inheritance
    Object
    NeoFpsEditorUtility
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: NeoFPSEditor
    Assembly: NeoFPS.dll
    Syntax
    public static class NeoFpsEditorUtility

    Methods

    CheckAnimatorKeyValid(Animator, String, AnimatorControllerParameterType)

    Declaration
    public static bool CheckAnimatorKeyValid(Animator animator, string key, AnimatorControllerParameterType parameterType)
    Parameters
    Type Name Description
    Animator animator
    System.String key
    AnimatorControllerParameterType parameterType
    Returns
    Type Description
    System.Boolean

    ClampFloatProperty(SerializedProperty, Single, Single)

    Declaration
    public static void ClampFloatProperty(SerializedProperty prop, float min, float max)
    Parameters
    Type Name Description
    SerializedProperty prop
    System.Single min
    System.Single max

    ClampIntProperty(SerializedProperty, Int32, Int32)

    Declaration
    public static void ClampIntProperty(SerializedProperty prop, int min, int max)
    Parameters
    Type Name Description
    SerializedProperty prop
    System.Int32 min
    System.Int32 max

    ClampMaxFloatProperty(SerializedProperty, Single)

    Declaration
    public static void ClampMaxFloatProperty(SerializedProperty prop, float max)
    Parameters
    Type Name Description
    SerializedProperty prop
    System.Single max

    ClampMaxIntProperty(SerializedProperty, Int32)

    Declaration
    public static void ClampMaxIntProperty(SerializedProperty prop, int max)
    Parameters
    Type Name Description
    SerializedProperty prop
    System.Int32 max

    ClampMinFloatProperty(SerializedProperty, Single)

    Declaration
    public static void ClampMinFloatProperty(SerializedProperty prop, float min)
    Parameters
    Type Name Description
    SerializedProperty prop
    System.Single min

    ClampMinIntProperty(SerializedProperty, Int32)

    Declaration
    public static void ClampMinIntProperty(SerializedProperty prop, int min)
    Parameters
    Type Name Description
    SerializedProperty prop
    System.Int32 min

    GetColourTexture(Color)

    Declaration
    public static Texture2D GetColourTexture(Color c)
    Parameters
    Type Name Description
    Color c
    Returns
    Type Description
    Texture2D

    GetCurrentComponentName(GameObject, Type, Object)

    Declaration
    public static string GetCurrentComponentName(GameObject gameObject, Type t, Object current)
    Parameters
    Type Name Description
    GameObject gameObject
    System.Type t
    Object current
    Returns
    Type Description
    System.String

    GetRelativeComponent<T>(GameObject, GameObject, T)

    Declaration
    public static T GetRelativeComponent<T>(GameObject sourceObject, GameObject targetObject, T component)
        where T : class
    Parameters
    Type Name Description
    GameObject sourceObject
    GameObject targetObject
    T component
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetRelativeGameObject(GameObject, GameObject, GameObject)

    Declaration
    public static GameObject GetRelativeGameObject(GameObject sourceObject, GameObject targetObject, GameObject target)
    Parameters
    Type Name Description
    GameObject sourceObject
    GameObject targetObject
    GameObject target
    Returns
    Type Description
    GameObject
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX