मुख्य कंटेंट तक स्किप करें

Class: SUIJoystick

This page documents the methods and fields available in the SUIJoystick class.

Members

SignatureDescription
getAxis()Returns the current axis.
getAxisName()Returns the current axis name.
getLerp()Returns the current lerp.
getTargetRectObject()Returns the current target rect object.
getTargetRectType()Returns the current target rect type.
getValue()Returns the current value.
isClickable()Returns whether clickable is true.
isDown()Returns whether down is true.
isPressed()Returns whether pressed is true.
isSpherical()Returns whether spherical is true.
isUp()Returns whether up is true.
setAxis(Axis)Sets or updates the axis.
setAxisName(String)Sets or updates the axis name.
setClickable(boolean)Sets or updates the clickable.
setLerp(float)Sets or updates the lerp.
setSpherical(boolean)Sets or updates the spherical.
setTargetRectObject(SpatialObject)Sets or updates the target rect object.
setTargetRectType(STargetRect)Sets or updates the target rect type.
setValue(Vector2)Sets or updates the value.