Hi I'm Newbie, so I have a lot of questions..

In the main menu scene, I don't want to go to the main game scene through Ork's new game button.

I want to go to the game scene through my ugui button and
I want to start the game by calling the start event in that scene.

because various non-game functions must be initialized before the game starts.
(My game needs to do server version check, Google login, data import, etc.)

However, when moving from a custom scene (without a game starter) to the main game scene (with a game starter and start game toggle on),

The start event doesn't seem to be called.
Therefore, the game does not run.

Does this start game toggle take effect only in the first scene enter playmode from?
So, is it not called when moving from another scene?
Is Gamestarter's "start game" only for testing purposes?
(As shown in the tutorial)

In other words,

When moving from the main menu scene to the game scene,
I want to use my button, not Ork's new game button.
And I want to start the game by calling the start event in the game scene.

Is this possible ??

thanks!!
  • If you're using custom UI, you need to start ORK's functionality manually, e.g. via custom scripts.

    For starting a new game, you can call:
    ORK.Game.NewGame(true);
    true will load the new game scene (if you've defined one in the main menu settings) - otherwise you can pass on false to not do that.

    The Start Game option in the game starter is only for the first time ORK is initialized in your running game. Game starters are not used when ORK is already initialized.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • thank you for answer!

    ORK.Game.NewGame(false); is nice for test purpose
Sign In or Register to comment.