Skip to content

Class: Skin ​

  • Namespace: Global
  • Assembly: Dew.Core.dll
csharp
[DewResourceLink(ResourceLinkBy.Name)]
public class Skin : MonoBehaviour

Fields ​

NameDeclarationDescription
categorypublic string category
generatedFromServerpublic bool generatedFromServer
previewFovOffset`[LabelText("Field Of View Offset")]
public float previewFovOffset`
previewImage`[Title("Preview", null, TitleAlignments.Left, true, true)]
[PreviewField(60)]
public Sprite previewImage`
previewRotationOffset`[LabelText("Rotation Offset")]
public Vector3 previewRotationOffset`
raritypublic SkinRarity rarity
requiredLevelpublic int requiredLevel
skillVisualspublic SkillVisualOverrideItem[] skillVisuals

Properties ​

NameDeclarationDescription
stardustPricepublic int stardustPrice { get; }

Methods ​

GetDefaultSkin(string) ​

csharp
public static string GetDefaultSkin(string heroType)

Parameters:

NameTypeDescription
heroTypestring

Returns: string

IsValidFor(string) ​

csharp
public bool IsValidFor(string heroType)

Parameters:

NameTypeDescription
heroTypestring

Returns: bool

Maintained by the Shape of Dreams Modding Community