/// <inheritdoc/> public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount) { var mixer = ActivationMixerPlayable.Create(graph, inputCount); m_ActivationMixer = mixer.GetBehaviour(); UpdateTrackMode(); return(mixer); }
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount) { ScriptPlayable <ActivationMixerPlayable> scriptPlayable = ActivationMixerPlayable.Create(graph, inputCount); this.m_ActivationMixer = scriptPlayable.GetBehaviour(); PlayableDirector component = go.GetComponent <PlayableDirector>(); this.UpdateBoundGameObject(component); this.UpdateTrackMode(); return(scriptPlayable); }