Exemplo n.º 1
0
        public override Playable CreatePlayable(PlayableGraph graph, GameObject owner)
        {
            var playable = ScriptPlayable <AlembicShotPlayable> .Create(graph);

            var behaviour = playable.GetBehaviour();

            m_stream = StreamPlayer.Resolve(graph.GetResolver());
            behaviour.streamPlayer = m_stream;
            return(playable);
        }