Class Avatar
Each avatar is represented withing IdleKit with an instance of this class.
Assembly: cs.temp.dll.dll
Syntax
Constructors
Avatar()
Declaration
Avatar(String, String, Boolean, String)
Declaration
public Avatar(string id, string source, bool unlockedByDefault, string title)
Parameters
Fields
_id
A unique identifier for this avatar.
Declaration
Field Value
_source
The source location for this avatar. Could be used to store a URL for an image or an asset name. Should be used for loading this avatar to display it in UI.
Declaration
Field Value
_title
A player title that comes as an unlock with this Avatar.
Declaration
Field Value
_unlockedByDefault
Determines whether everyone receives this avatar by default when first loading into the game.
Declaration
protected bool _unlockedByDefault
Field Value
Properties
ID
Declaration
public virtual string ID { get; }
Property Value
Source
Declaration
public virtual string Source { get; }
Property Value
Title
Declaration
public virtual string Title { get; }
Property Value
UnlockedByDefault
Declaration
public virtual bool UnlockedByDefault { get; }
Property Value