docs.unity.cn
    Show / Hide Table of Contents

    Class UIBehaviourExtensions

    Inheritance
    Object
    UIBehaviourExtensions
    Namespace: UnityEngine.UI.Tests
    Syntax
    public static class UIBehaviourExtensions

    Methods

    InvokeAwake(UIBehaviour)

    Declaration
    public static void InvokeAwake(this UIBehaviour behaviour)
    Parameters
    Type Name Description
    UIBehaviour behaviour

    InvokeLateUpdate(UIBehaviour)

    Declaration
    public static void InvokeLateUpdate(this UIBehaviour behaviour)
    Parameters
    Type Name Description
    UIBehaviour behaviour

    InvokeMethodAndRethrow(Object, String, Object[])

    Declaration
    public static object InvokeMethodAndRethrow(Object obj, string methodName, params object[] args)
    Parameters
    Type Name Description
    Object obj
    String methodName
    Object[] args
    Returns
    Type Description
    Object

    InvokeMethodAndRethrow<T>(Object, String, Object[])

    Declaration
    public static object InvokeMethodAndRethrow<T>(Object obj, string methodName, params object[] args)
    Parameters
    Type Name Description
    Object obj
    String methodName
    Object[] args
    Returns
    Type Description
    Object
    Type Parameters
    Name Description
    T

    InvokeOnCanvasGroupChanged(UIBehaviour)

    Declaration
    public static void InvokeOnCanvasGroupChanged(this UIBehaviour behaviour)
    Parameters
    Type Name Description
    UIBehaviour behaviour

    InvokeOnDidApplyAnimationProperties(UIBehaviour)

    Declaration
    public static void InvokeOnDidApplyAnimationProperties(this UIBehaviour behaviour)
    Parameters
    Type Name Description
    UIBehaviour behaviour

    InvokeOnDisable(UIBehaviour)

    Declaration
    public static void InvokeOnDisable(this UIBehaviour behaviour)
    Parameters
    Type Name Description
    UIBehaviour behaviour

    InvokeOnEnable(UIBehaviour)

    Declaration
    public static void InvokeOnEnable(this UIBehaviour behaviour)
    Parameters
    Type Name Description
    UIBehaviour behaviour

    InvokeOnRectTransformDimensionsChange(UIBehaviour)

    Declaration
    public static void InvokeOnRectTransformDimensionsChange(this UIBehaviour behaviour)
    Parameters
    Type Name Description
    UIBehaviour behaviour

    InvokeRebuild(UIBehaviour, CanvasUpdate)

    Declaration
    public static void InvokeRebuild(this UIBehaviour behaviour, CanvasUpdate type)
    Parameters
    Type Name Description
    UIBehaviour behaviour
    CanvasUpdate type

    InvokeUpdate(UIBehaviour)

    Declaration
    public static void InvokeUpdate(this UIBehaviour behaviour)
    Parameters
    Type Name Description
    UIBehaviour behaviour
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 12 June 2023