SuperBehaviour SuperBehaviour
SuperBehaviour SuperBehaviour
v0.1.2 [Beta]

Search Results for

    Class SuperIcon

    Namespace
    LoM.Super
    Assembly
    LoM.Super.dll

    Attribute to specify an icon for a SuperBehaviour.
    Note: Use the SuperBehaviourIcon enum to specify the icon or use a custom path.


    [SuperIcon(SuperBehaviourIcon.GameManager)]
    public class GameManager : SuperBehaviour { }

    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
    public class SuperIcon : IconAttribute
    Inheritance
    object
    Attribute
    IconAttribute
    SuperIcon

    Constructors

    SuperIcon(SuperBehaviourIcon)

    Attribute to specify an icon for a SuperBehaviour.

    public SuperIcon(SuperBehaviourIcon icon)

    Parameters

    icon SuperBehaviourIcon

    The icon to use.

    SuperIcon(string)

    Attribute to specify an icon for a SuperBehaviour.

    public SuperIcon(string customPath)

    Parameters

    customPath string

    The full custom path to the icon (e.g. "Assets/Gizmos/MyIcon.png").

    Methods

    GetPath()

    Get the path of the icon.

    public string GetPath()

    Returns

    string

    The path of the icon.

    © Lords of Mahlstrom Gaming, all rights reserved.