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 theTransform
to a newVector3
value.SetPosition(Vector3Variable)
- Sets the position of theTransform
to the value of aVector3Variable
.SetActive(bool)
- Sets the active state ofGameObject
of theTransform
.CopyFrom(TransformVariable)
- Copies the value of anotherTransformVariable
into this variable.CopyTo(TransformVariable)
- Copies the value from this variable into anotherTransformVariable
.