SetInputWeight
Changes the weight of the Playable connected to the current Playable.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
SetInputWeight<T>(T, int, float)
public static void SetInputWeight<U>(this U playable, int inputIndex, float weight) where U : struct, IPlayable
Parameters
Remarks
Use this templated extension method on any type that inherits from IPlayable.
SetInputWeight<T, U>(T, T, float)
public static void SetInputWeight<U, V>(this U playable, V input, float weight) where U : struct, IPlayable where V : struct, IPlayable
Parameters
Remarks
Use this templated extension method on any type that inherits from IPlayable.