Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

TransformSceneHandle.IsValid

Switch to Manual
public bool IsValid (Experimental.Animations.AnimationStream stream);

Parameters

streamThe AnimationStream that manage this handle.

Returns

bool Whether this is a valid handle.

Description

Returns whether this is a valid handle.

A TransformSceneHandle may be invalid if, for example, the transform binded to this handle is deleted or if you didn't use the correct function to create it.

See Also: AnimatorJobExtensions.BindSceneTransform.