private void CreateActivationPlayable(GameObject root, PlayableGraph graph, List <Playable> outplayables) { ScriptPlayable <ActivationControlPlayable> val = ActivationControlPlayable.Create(graph, root, postPlayback); if (PlayableExtensions.IsValid <ScriptPlayable <ActivationControlPlayable> >(val)) { outplayables.Add(val); } }
private void CreateActivationPlayable(GameObject root, PlayableGraph graph, List <Playable> outplayables) { ScriptPlayable <ActivationControlPlayable> playable = ActivationControlPlayable.Create(graph, root, this.postPlayback); if (!playable.IsValid <ScriptPlayable <ActivationControlPlayable> >()) { return; } outplayables.Add((Playable)playable); }