Ejemplo n.º 1
0
        private async void InitializeEngineAsync()
        {
            await RuntimeInitializer.InitializeAsync();

            IsDone.Value = true;
            Fsm.Event(DoneEvent);
            Finish();
        }
Ejemplo n.º 2
0
    private async void Start()
    {
        // 1. Initialize Naninovel.
        await RuntimeInitializer.InitializeAsync();

        // 2. Enter adventure mode.
        var switchCommand = new SwitchToAdventureMode {
            ResetState = false
        };
        await switchCommand.ExecuteAsync();
    }
Ejemplo n.º 3
0
 // https://naninovel.com/guide/integration-options.html?#manual-initialization
 private async void Start()
 {
     await RuntimeInitializer.InitializeAsync();
 }