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
Component.GetComponentIndex()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
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: Unity.Cinemachine.dll
Syntax
[RequireComponent(typeof(CinemachineTargetGroup))]
[ExecuteAlways]
[AddComponentMenu("Cinemachine/Helpers/Cinemachine Group Weight Manipulator")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.cinemachine@3.1/manual/GroupWeightManipulator.html")]
public class GroupWeightManipulator : MonoBehaviour
Fields
Weight0
The weight of the group member at index 0
Declaration
[Tooltip("The weight of the group member at index 0")]
[FormerlySerializedAs("m_Weight0")]
public float Weight0
Field Value
Type | Description |
---|---|
float |
Weight1
The weight of the group member at index 1
Declaration
[Tooltip("The weight of the group member at index 1")]
[FormerlySerializedAs("m_Weight1")]
public float Weight1
Field Value
Type | Description |
---|---|
float |
Weight2
The weight of the group member at index 2
Declaration
[Tooltip("The weight of the group member at index 2")]
[FormerlySerializedAs("m_Weight2")]
public float Weight2
Field Value
Type | Description |
---|---|
float |
Weight3
The weight of the group member at index 3
Declaration
[Tooltip("The weight of the group member at index 3")]
[FormerlySerializedAs("m_Weight3")]
public float Weight3
Field Value
Type | Description |
---|---|
float |
Weight4
The weight of the group member at index 4
Declaration
[Tooltip("The weight of the group member at index 4")]
[FormerlySerializedAs("m_Weight4")]
public float Weight4
Field Value
Type | Description |
---|---|
float |
Weight5
The weight of the group member at index 5
Declaration
[Tooltip("The weight of the group member at index 5")]
[FormerlySerializedAs("m_Weight5")]
public float Weight5
Field Value
Type | Description |
---|---|
float |
Weight6
The weight of the group member at index 6
Declaration
[Tooltip("The weight of the group member at index 6")]
[FormerlySerializedAs("m_Weight6")]
public float Weight6
Field Value
Type | Description |
---|---|
float |
Weight7
The weight of the group member at index 7
Declaration
[Tooltip("The weight of the group member at index 7")]
[FormerlySerializedAs("m_Weight7")]
public float Weight7
Field Value
Type | Description |
---|---|
float |