Search Results for

    Show / Hide Table of Contents

    Class Skin

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

    Fields

    category

    Declaration
    public string category
    Field Value
    Type Description
    string

    generatedFromServer

    Declaration
    public bool generatedFromServer
    Field Value
    Type Description
    bool

    previewFovOffset

    Declaration
    [LabelText("Field Of View Offset")]
    public float previewFovOffset
    Field Value
    Type Description
    float

    previewImage

    Declaration
    [Title("Preview", null, TitleAlignments.Left, true, true)]
    [PreviewField(60)]
    public Sprite previewImage
    Field Value
    Type Description
    UnityEngine.Sprite

    previewRotationOffset

    Declaration
    [LabelText("Rotation Offset")]
    public Vector3 previewRotationOffset
    Field Value
    Type Description
    UnityEngine.Vector3

    rarity

    Declaration
    public SkinRarity rarity
    Field Value
    Type Description
    SkinRarity

    requiredLevel

    Declaration
    public int requiredLevel
    Field Value
    Type Description
    int

    skillVisuals

    Declaration
    public SkillVisualOverrideItem[] skillVisuals
    Field Value
    Type Description
    SkillVisualOverrideItem[]

    Properties

    stardustPrice

    Declaration
    public int stardustPrice { get; }
    Property Value
    Type Description
    int

    Methods

    GetDefaultSkin(string)

    Declaration
    public static string GetDefaultSkin(string heroType)
    Parameters
    Type Name Description
    string heroType
    Returns
    Type Description
    string

    IsValidFor(string)

    Declaration
    public bool IsValidFor(string heroType)
    Parameters
    Type Name Description
    string heroType
    Returns
    Type Description
    bool

    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