UIZepetoPlayerControl
ZEPETO.Character.Controller.UIZepetoPlayerControl
Class provides UI-based control for the local player's character.
Hierarchy
↳
UIZepetoPlayerControl
Constructors
constructor
• new UIZepetoPlayerControl()
Overrides
UnityEngine.MonoBehaviour.constructor
Methods
DoubleJump
▸ DoubleJump(): void
Makes the local player's ZEPETO character double jump.
Returns
void
Jump
▸ Jump(): void
Makes the local player's ZEPETO character jump.
Returns
void
Move
▸ Move($delta
): void
Sets the moving direction of local player's ZEPETO character.
Parameters
Name | Type |
---|---|
$delta | Vector2 |
Returns
void
StartMoving
▸ StartMoving(): void
Sets the moving flag of the local player's character to true
.
Returns
void
StopMoving
▸ StopMoving(): void
Stops the local player's ZEPETO character.
Returns
void
Update
▸ Update(): void
Updates the moving direction of local player's ZEPETO character.
Returns
void