Search Results for

    Show / Hide Table of Contents

    Class WorkaroundUnityRectTransformSetSize

    Used heavily in Flexbox: Unity engineers never implemented 'SetSize' for RectTransform

    Inheritance
    Object
    WorkaroundUnityRectTransformSetSize
    Namespace: NinjaTools.FlexBuilder
    Assembly: cs.temp.dll.dll
    Syntax
    public static class WorkaroundUnityRectTransformSetSize

    Methods

    - (void) SetSize(RectTransform, Vector2)

    Sets the size for a RectTransform; note there is officially NO PUBLIC API for doing this, you have to write it yourself

    Parameters
    RectTransform rt
    Vector2 newSize
    In This Article
    Back to top http://flexbuilder.ninja