C# Class RosePlayer, UnityRose

Inheritance: IPointerClickHandler
Afficher le fichier Open project: osROSE/UnityRose Class Usage Examples

Méthodes publiques

Свойство Type Description
charModel UnityRose.CharModel
player GameObject

Méthodes publiques

Méthode Description
Destroy ( ) : void
OnPointerClick ( PointerEventData eventData ) : void
RosePlayer ( ) : System
RosePlayer ( CharModel charModel ) : System
RosePlayer ( GenderType gender ) : System
RosePlayer ( Vector3 position ) : System
changeGender ( GenderType gender ) : void
changeName ( string name ) : void
equip ( BodyPartType bodyPart, int id, bool changeId = true ) : void
setAnimationState ( States state ) : void

Private Methods

Méthode Description
LoadObject ( BodyPartType bodyPart, int id ) : Bounds
LoadPart ( BodyPartType bodyPart, ZSC dummy, string zmsPath, string texPath ) : Bounds
LoadPlayer ( CharModel charModel ) : void
LoadPlayerSkeleton ( CharModel charModel ) : void
LoadPlayerSkeleton ( GenderType gender, WeaponType, weapType, RigType rig, int weapon, int body, int arms, int foot, int hair, int face, int back, int cap, int shield ) : void

Method Details

Destroy() public méthode

public Destroy ( ) : void
Résultat void

OnPointerClick() public méthode

public OnPointerClick ( PointerEventData eventData ) : void
eventData UnityEngine.EventSystems.PointerEventData
Résultat void

RosePlayer() public méthode

public RosePlayer ( ) : System
Résultat System

RosePlayer() public méthode

public RosePlayer ( CharModel charModel ) : System
charModel UnityRose.CharModel
Résultat System

RosePlayer() public méthode

public RosePlayer ( GenderType gender ) : System
gender GenderType
Résultat System

RosePlayer() public méthode

public RosePlayer ( Vector3 position ) : System
position Vector3
Résultat System

changeGender() public méthode

public changeGender ( GenderType gender ) : void
gender GenderType
Résultat void

changeName() public méthode

public changeName ( string name ) : void
name string
Résultat void

equip() public méthode

public equip ( BodyPartType bodyPart, int id, bool changeId = true ) : void
bodyPart BodyPartType
id int
changeId bool
Résultat void

setAnimationState() public méthode

public setAnimationState ( States state ) : void
state States
Résultat void

Property Details

charModel public_oe property

public CharModel,UnityRose charModel
Résultat UnityRose.CharModel

player public_oe property

public GameObject player
Résultat GameObject