3. Setting up scenes in Unity

1) Login scene

Throw all the necessary prefabs onto the stage as in the example.

  • *Message – required, informs the user with a message. (normal, reward and internet issues) (iDosGamesSDK -> Prefabs -> Message)
  • *Loading – required, shows the loading screen. (iDosGamesSDK -> Prefabs -> Loading)
  • AutoLogin – authorizes the user and switches to the next scene. (iDosGamesSDK -> Prefabs -> Authorization)
  • Analytics – serves for analytics. (iDosGamesSDK -> Prefabs -> Analytics)

2) Main scene

  • MainSceneViewObject – all game display elements (UI, 3D objects, lighting, etc.) are best placed in the hierarchy in an empty “MainSceneViewObject” object. This object will be disabled as needed. For example, opening chests, etc.
  • Room – contains additional display rooms. (opening chests, inspecting skins, etc.) For example, “MainSceneViewObject” is turned off and one of the rooms is turned on.
  • Tool – it is better to throw module scripts or additional functionality here.

InitialDataLoader – information:

Other modules:







  • *AdMediation – initializes the ad SDK. (iDosGamesSDK -> Prefabs -> AdMediation)
  • *ShopSystem – initializes and stores store data. (iDosGamesSDK -> Prefabs -> Shop -> ShopSystem)

Powered by BetterDocs

Go to Top