Search Results for

    Show / Hide Table of Contents

    Class Accessory

    Inheritance
    object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    Accessory
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    [DewResourceLink(ResourceLinkBy.Name)]
    public class Accessory : MonoBehaviour

    Fields

    category

    Declaration
    public string category
    Field Value
    Type Description
    string

    customOffsets

    Declaration
    public List<Accessory.AttachOffset> customOffsets
    Field Value
    Type Description
    System.Collections.Generic.List<T><Accessory.AttachOffset>

    generatedFromServer

    Declaration
    public bool generatedFromServer
    Field Value
    Type Description
    bool

    previewCustomCenter

    Declaration
    [LabelText("Custom Center")]
    public Transform previewCustomCenter
    Field Value
    Type Description
    UnityEngine.Transform

    previewImage

    Declaration
    [Space(30)]
    [PreviewField(60)]
    [LabelText("Thumbnail")]
    public Sprite previewImage
    Field Value
    Type Description
    UnityEngine.Sprite

    previewOffset

    Declaration
    [LabelText("Normalized Offset")]
    [ReadOnly]
    public Vector2 previewOffset
    Field Value
    Type Description
    UnityEngine.Vector2

    previewPadding

    Declaration
    [Range(-0.25, 0.25)]
    [LabelText("Padding")]
    public float previewPadding
    Field Value
    Type Description
    float

    type

    Declaration
    public AccType type
    Field Value
    Type Description
    AccType

    Methods

    Setup(Transform, string)

    Declaration
    public void Setup(Transform target, string entityOrSkinName)
    Parameters
    Type Name Description
    UnityEngine.Transform target
    string entityOrSkinName

    Extension Methods

    DewGUI.SetExpandHeight<T>(T, bool)
    DewGUI.SetExpandHeight<T>(T, float)
    DewGUI.SetExpandWidth<T>(T, bool)
    DewGUI.SetExpandWidth<T>(T, float)
    DewGUI.SetHeight<T>(T, float)
    DewGUI.SetText<T>(T, string)
    DewGUI.SetTextLocalized<T>(T, string)
    DewGUI.SetWidth<T>(T, float)
    In This Article
    Back to top Shape of Dreams API Documentation