Skip to main content

ZepetoPlayerControl

ZEPETO.Character.Controller.ZepetoPlayerControl

Manages the input control for a ZEPETO player.

Hierarchy

Constructors

constructor

new ZepetoPlayerControl()

Overrides

UnityEngine.MonoBehaviour.constructor

Accessors

Enable

set Enable(value): void

Determines whether player input control is enabled.

Parameters

NameType
valueboolean

Returns

void

Methods

Create

Static Create($playerActions): ZepetoPlayerControl

Creates a ZepetoPlayerControl instance.

Parameters

NameTypeDescription
$playerActionsPlayerActionsSet of input actions to be associated with the ZepetoPlayerControl.

Returns

ZepetoPlayerControl

New instance of ZepetoPlayerControl. Instance is attached to a new game object and ready to handle player input actions.