public sealed class PositionTransitioner : TransformTransitioner
A Cell Visual Transition Controller that manipulates the position of transforms to carry out transitions.
| Name | Type | Description |
|---|---|---|
| LODTransitionToInvisible | Action<float, Transform, Vector3, int> |
Returns an Action that performs an LOD transition of a transform from visible to invisible. |
| LODTransitionToVisible | Action<float, Transform, Vector3, int> |
Returns an Action that performs an LOD transition of a transform from invisible to visible. |
| TransitionToInvisible | Action<float, Transform, Vector3, int> |
Returns an Action that performs a non LOD transition of a transform from visible to invisible. |
| TransitionToVisible | Action<float, Transform, Vector3, int> |
Returns an Action that performs a non LOD transition of a transform from invisible to visible. |
protected sealed override void AwakeExtended()
Used to create the TransitionToVisible and TransitionToInvisible actions.
protected sealed override Vector3 GetVectorData(Transform transform)
Returns the position of the Transform.
| Name | Type | Description |
|---|---|---|
| transform | Transform |
The Transform to get the data from. |
Vector3
The position data.
protected sealed override void MakeTransformInvisibleImmediately(Transform transform)
Immediately transitions the transform to the invisible state.
| Name | Type | Description |
|---|---|---|
| transform | Transform |
The Transform to transition. |
protected sealed override void MakeTransformVisibleImmediately(Transform transform)
Immediately transitions the transform to the visible state.
| Name | Type | Description |
|---|---|---|
| transform | Transform |
The Transform to transition. |