PositionTransitioner Class

public sealed class PositionTransitioner : TransformTransitioner

A Cell Visual Transition Controller that manipulates the position of transforms to carry out transitions.

Properties

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.

Methods

AwakeExtended()

protected sealed override void AwakeExtended()

Used to create the TransitionToVisible and TransitionToInvisible actions.


GetVectorData(Transform)

protected sealed override Vector3 GetVectorData(Transform transform)

Returns the position of the Transform.

Parameters

Name Type Description
transform Transform

The Transform to get the data from.

Returns

Vector3
The position data.


MakeTransformInvisibleImmediately(Transform)

protected sealed override void MakeTransformInvisibleImmediately(Transform transform)

Immediately transitions the transform to the invisible state.

Parameters

Name Type Description
transform Transform

The Transform to transition.


MakeTransformVisibleImmediately(Transform)

protected sealed override void MakeTransformVisibleImmediately(Transform transform)

Immediately transitions the transform to the visible state.

Parameters

Name Type Description
transform Transform

The Transform to transition.