Back To Index

PlayerData

Jump To Parameters
Jump To Function Definitions


Parameter Definitions

Select the parameter name from below to jump directly to it on this page.

character
characterName
ground
health
inventory
jump
roll
stamina


character

The actual gameobject name of this character.

Exposed Value Type Default Value
public string ””

Back To Top


characterName

The nickname of your the photon room.

Exposed Value Type Default Value
public string ””

Back To Top


ground

All of the group settings on this character.

Exposed Value Type Default Value
public PlayerGrounded new PlayerGrounded()

Back To Top


health

All of the health data related to this character.

Exposed Value Type Default Value
public PlayerHealth new PlayerHealth()

Back To Top


inventory

The inventory data from this characters inventory.

Exposed Value Type Default Value
public PlayerInventory new PlayerInventory()

Back To Top


jump

All of the jump settings on this character.

Exposed Value Type Default Value
public PlayerJump new PlayerJump()

Back To Top


roll

All of the roll settings on this character.

Exposed Value Type Default Value
public PlayerRoll new PlayerRoll()

Back To Top


stamina

All of the stamina data related to this character.

Exposed Value Type Default Value
public PlayerStamina new PlayerStamina()

Back To Top

Function Definitions

Select the function name from below to jump directly to it on this page.

PlayerData


public PlayerData(vThirdPersonController controller)

Takes a simple character controller inputs and extracts all of the following information from that character: health info, stamina info, roll settings, jump settings, group settings, and inventory data. It will then save that information into easily serializable classes that can be stored into a binary file. It’s all self contained within this class.

Expose Value Overrideable Returns
private False Does not return anything
Parameter Name Description
controller The vThirdPersonController to scan

Back To Top