API

Fields

Field

Description

unarmedCameraStates

Sets the state data for when the player is unarmed.

Functions

GetState

GET GetState(bool isWeapon)

Invoking this function will return the StateData for the camera or the guns, depending on the isWeapon boolean.

Path Parameters

Name
Type
Description

IsWeapon

boolean

Determines whether you need the camera or the gun's data.

//Get the camera's data.
StateData cameraData = PlayerStateHandler.Instance.GetState(false);

Last updated

Was this helpful?