Search Results for

    Class SUiElement

    Inheritance
    object
    SUiElement
    SUiElement<T>
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: SUI
    Assembly: SonsSdk.dll
    Syntax
    public class SUiElement

    Constructors

    SUiElement(GameObject)

    Declaration
    public SUiElement(GameObject root)
    Parameters
    Type Name Description
    GameObject root

    Fields

    Parent

    Declaration
    public SUiElement Parent
    Field Value
    Type Description
    SUiElement

    RectTransform

    Declaration
    public RectTransform RectTransform
    Field Value
    Type Description
    RectTransform

    Root

    Declaration
    public GameObject Root
    Field Value
    Type Description
    GameObject

    _classes

    Declaration
    public List<string> _classes
    Field Value
    Type Description
    List<string>

    _id

    Declaration
    public string _id
    Field Value
    Type Description
    string

    Methods

    As<T>()

    Declaration
    public T As<T>() where T : SUiElement
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetClass(string)

    Declaration
    public List<SUiElement> GetClass(string className)
    Parameters
    Type Name Description
    string className
    Returns
    Type Description
    List<SUiElement>

    GetOrAdd<T>()

    Declaration
    protected T GetOrAdd<T>() where T : Component
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Remove()

    Declaration
    public void Remove()

    SetParent(SUiElement)

    Declaration
    public void SetParent(SUiElement parent)
    Parameters
    Type Name Description
    SUiElement parent

    SetParent(Transform)

    Declaration
    public void SetParent(Transform parent)
    Parameters
    Type Name Description
    Transform parent