Skip to content

Class: Accessory ​

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

Fields ​

NameDeclarationDescription
categorypublic string category
customOffsetspublic List<Accessory.AttachOffset> customOffsets
generatedFromServerpublic bool generatedFromServer
previewCustomCenter`[LabelText("Custom Center")]
public Transform previewCustomCenter`
previewImage`[Space(30)]
[PreviewField(60)]
[LabelText("Thumbnail")]
public Sprite previewImage`
previewOffset`[LabelText("Normalized Offset")]
[ReadOnly]
public Vector2 previewOffset`
previewPadding`[Range(-0.25, 0.25)]
[LabelText("Padding")]
public float previewPadding`
typepublic AccType type

Methods ​

Setup(Transform, string) ​

csharp
public void Setup(Transform target, string entityOrSkinName)

Parameters:

NameTypeDescription
targetUnityEngine.Transform
entityOrSkinNamestring

Maintained by the Shape of Dreams Modding Community