TransformVariable

Derives from RuntimeVariable<T>.

Description

Represents an observable Transform value that can be shared and modified throughout the application.

Public Methods

  • SetPosition(Vector3) - Sets the position of the Transform to a new Vector3 value.
  • SetPosition(Vector3Variable) - Sets the position of the Transform to the value of a Vector3Variable.
  • SetActive(bool) - Sets the active state of GameObject of the Transform.
  • CopyFrom(TransformVariable) - Copies the value of another TransformVariable into this variable.
  • CopyTo(TransformVariable) - Copies the value from this variable into another TransformVariable.