コード例 #1
0
        // Requires testing - would allow users to attach a run-time story to this window for testing purposes.
        public static InkPlayerWindow Attach(Story story)
        {
            InkPlayerWindow window = GetWindow();

            window.Clear();
            window.story    = story;
            window.attached = true;
            return(window);
        }
コード例 #2
0
        // Requires testing - would allow users to attach a run-time story to this window for testing purposes.
        public static InkPlayerWindow Attach(Story story)
        {
            InkPlayerWindow window = GetWindow();

            window.Clear();
            window.playerOptions.continueAutomatically = true;
            window.playerOptions.chooseAutomatically   = true;
            window.story    = story;
            window.attached = true;
            return(window);
        }