Class GroupWeightManipulator
A class to get around the limitation in timeline that array members can't be animated.
A fixed number of slots are made available, rather than a dynamic array.
If you want to add more slots, just modify this code.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[RequireComponent(typeof(CinemachineTargetGroup))]
[ExecuteAlways]
[AddComponentMenu("Cinemachine/Helpers/Cinemachine Group Weight Manipulator")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.cinemachine@3.0/manual/GroupWeightManipulator.html")]
public class GroupWeightManipulator : MonoBehaviour
Fields
| Name | Description |
|---|---|
| Weight0 | The weight of the group member at index 0 |
| Weight1 | The weight of the group member at index 1 |
| Weight2 | The weight of the group member at index 2 |
| Weight3 | The weight of the group member at index 3 |
| Weight4 | The weight of the group member at index 4 |
| Weight5 | The weight of the group member at index 5 |
| Weight6 | The weight of the group member at index 6 |
| Weight7 | The weight of the group member at index 7 |