public class TeleporterWrapper : MonoBehaviourWrapper

A teleporter.

Spawnable via "Entity.Teleporter".


public void CreateTarget(LuaVector3 position, LuaVector3 rotation)

(Client) Creates and sets a target for this teleporter.

Arguments


public TransformWrapper GetTarget()

(Client) Get the target of this teleporter.

Returns: (Transform) The teleporter target.


public void SetTarget(TransformWrapper target)

(Client) Set the target of this teleporter.

Arguments


public LuaVector3 GetTargetPosition()

(Client) Gets the position of the teleporter's target.

Returns: (Vector3) The teleporter's targets position.


public void SetTargetPosition(LuaVector3 position)

(Client) Sets the position of the teleporter's target.

Arguments


public bool GetActive()

(Client) Gets whether this teleporter is active.

Returns: (bool) Whether this teleporter is active.


public void SetActive(bool active, bool animated = true)

(Client) Sets whether this teleporter is active.

Arguments