Exemplo n.º 1
0
        public xpSceneDirector PlayPositionSceneDirector(xpScene scene, string scene_director, int position = 0)
        {
            xpSceneDirector directorObj;

            if (scene.GetSceneDirectorByName(scene_director, out directorObj))
            {
                directorObj.Position = position;

                directorObj.Play();
                return(directorObj);
            }
            return(null);
        }