Ejemplo n.º 1
0
        /// <inheritdoc/>
        public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)
        {
            var mixer = ActivationMixerPlayable.Create(graph, inputCount);

            m_ActivationMixer = mixer.GetBehaviour();

            UpdateTrackMode();

            return(mixer);
        }
Ejemplo n.º 2
0
        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);
        }