Class RuntimeUtility
An ad-hoc collection of helpers, used by Cinemachine or its editor tools in various places
Inherited Members
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
public static class RuntimeUtility
Methods
Name | Description |
---|---|
DestroyObject(Object) | Convenience to destroy an object, using the appropriate method depending on whether the game is playing |
IsPrefab(GameObject) | Check whether a GameObject is a prefab. |
NormalizeCurve(AnimationCurve, bool, bool) | Normalize a curve so that its X and Y axes range from 0 to 1 |