SuperBehaviour SuperBehaviour
SuperBehaviour SuperBehaviour
v0.1.2 [Beta]

Search Results for

    Class SuperBehaviour

    Namespace
    LoM.Super
    Assembly
    LoM.Super.dll

    SuperBehaviour is a MonoBehaviour that provides some additional functionality.
    It provides a cached version of the transform and gameObject properties.
    It also enables the use of SuperEditor and SerializedProperties.

    [SuperIcon(SuperBehaviourIcon.Default)]
    public class SuperBehaviour : MonoBehaviour
    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    SuperBehaviour
    Derived
    SingletonBehaviour<T>

    Properties

    IsDestroyed

    Returns if this instance has been marked as destroyed by Unity.

    public bool IsDestroyed { get; }

    Property Value

    bool

    True if the instance has been destroyed, false otherwise.

    ShowProperties

    Defines if the SerializedProperties of this SuperBehaviour should be shown in the inspector.

    public bool ShowProperties { get; set; }

    Property Value

    bool

    gameObject

    The GameObject attached to this SuperBehaviour.
    This is a cached version of the gameObject property.

    public GameObject gameObject { get; }

    Property Value

    GameObject

    rectTransform

    The SuperRectTransform attached to this SuperBehaviour.
    This is a cached version of the rectTransform property.
    This will return null if the SuperBehaviour is not attached to a RectTransform.

    public SuperRectTransform rectTransform { get; }

    Property Value

    SuperRectTransform

    transform

    The Transform attached to this SuperBehaviour.
    This is a cached version of the transform property.

    public Transform transform { get; }

    Property Value

    Transform
    © Lords of Mahlstrom Gaming, all rights reserved.