![]() |
RPGlite Starter Kit
1.0.0
Starting RPG projects made easy.
|
Parent class of all humanoid characters. More...
Public Attributes | |
Color | hairColor = Color.white |
int | skinNr |
int | spriteNr |
int | outfitNr |
int | hairNr |
int | hatNr |
bool | displayRandomCosmetics = false |
List< Color > | possibleRandomHairColors = new List<Color>() |
Protected Member Functions | |
virtual void | Initialize () |
void | Update () |
void | LateUpdate () |
virtual void | SetZIndex () |
void | Move (bool animate=true) |
void | SkinChoice () |
void | OutfitChoice () |
void | HairChoice () |
void | HatChoice () |
void | UpdateCosmetics () |
IEnumerator | DisplayRandomCosmetics () |
Protected Attributes | |
float | speed = 5.0f |
float | sprintSpeedMultiplier = 2.0f |
Animator | animator |
ArtLibrary | artLibrary |
SpriteRenderer | spriteRenderer |
Vector2 | lastDirection |
IInteractable | interactable |
Vector2 | velocity |
bool | sprinting |
SpriteRenderer | outfitRenderer |
SpriteRenderer | hairRenderer |
SpriteRenderer | hatRenderer |
Parent class of all humanoid characters.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedvirtual |
Reimplemented in RPGlite.PlayerController, and RPGlite.Shopkeeper.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedvirtual |
Reimplemented in RPGlite.Shopkeeper.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
bool RPGlite.Character.displayRandomCosmetics = false |
Color RPGlite.Character.hairColor = Color.white |
int RPGlite.Character.hairNr |
|
protected |
int RPGlite.Character.hatNr |
|
protected |
|
protected |
|
protected |
int RPGlite.Character.outfitNr |
|
protected |
List<Color> RPGlite.Character.possibleRandomHairColors = new List<Color>() |
int RPGlite.Character.skinNr |
|
protected |
|
protected |
|
protected |
int RPGlite.Character.spriteNr |
|
protected |
|
protected |