Kuizo Documentation
  • Getting Started
    • What is Kuizo?
    • Requirements
    • Installation Instructions
    • Quickstart
  • Using Kuizo
    • Creating and Setting up a new Kuizo Global Settings Object
    • Creating and Managing Categories
    • Creating and Managing Questions
  • Creating and Managing Quizzes
  • Game Settings
    • Configuring the Number of Questions
    • Configuring the Time Limit
    • Configuring the Number of Players
  • Information
    • Contact Me
    • Credits
Powered by GitBook
On this page
  1. Using Kuizo

Creating and Setting up a new Kuizo Global Settings Object

PreviousQuickstartNextCreating and Managing Categories

Last updated 1 month ago

The Kuizo Global Settings object is essential for managing customization settings in Kuizo.

A default Kuizo Global Settings object is included, but you can create a new one if needed.

The Kuizo Global Settings object holds key settings for Kuizo. If missing or misconfigured, Kuizo may not function properly.


How to create a Kuizo Global Settings object
  1. Right-click in the Project window.

  2. Navigate to Create → Kuizo → Settings → Global Settings.

  3. A new Kuizo Global Settings object will be created.

  4. Rename it and place it in the correct folder location:

    • Default location: KamelMahjoub/Kuizo/Ressources/Data/Settings.

    • If the default folder location has been modified, place it in the updated directory specified in KuizoFolderPaths.

  5. Open the Main Menu Scene.

  6. Locate the Data Manager GameObject.

  7. Assign the Kuizo Global Settings object to its corresponding field.

  8. Save your project.

How to set up a Kuizo Global Settings object
  1. Select the Kuizo Global Settings Object to view its components in the Inspector.

  2. In the Inspector, find the field labeled Categories SO.

  3. Drag and drop the Categories object into this field.

    • Default location: KamelMahjoub/Kuizo/Resources/Data/Categories.

  4. In the Inspector, find the field labeled Loaded Category UI Prefab.

  5. Drag and drop the Loaded Category UI prefab into this field.

    • Prefab location: KamelMahjoub/Kuizo/Prefabs/UI/Components.

  6. In the Inspector, find the field labeled Loaded Quiz UI Prefab.

  7. Drag and drop the Loaded Quiz UI prefab into this field.

    • Prefab location: KamelMahjoub/Kuizo/Prefabs/UI/Components.

  8. In the Inspector, find the field labeled Kuizo Global Settings SO Icon.

  9. Drag and drop the Settings icon into this field

    • Icon Location: KamelMahjoub/Kuizo/Editor/Icons.

  10. In the Inspector, find the field labeled Categories SO Icon.

  11. Drag and drop the Categories icon into this field

    • Icon Location: KamelMahjoub/Kuizo/Editor/Icons.

  12. In the Inspector, find the field labeled Quiz SO Icon.

  13. Drag and drop the Quiz icon into this field

    • Icon Location: KamelMahjoub/Kuizo/Editor/Icons.

  14. In the Inspector, find the field labeled Question SO Icon.

  15. Drag and drop the Question icon into this field

    • Icon Location: KamelMahjoub/Kuizo/Editor/Icons.

  16. Press Ctrl+S to save the Kuizo Global Settings object.

How to assign a Kuizo Global Settings object in the Scene
  1. Open the Main Menu Scene

  2. In the Hierarchy, find the GameObject named Data Manager.

  3. Select it to view its components in the Inspector.

  4. In the Inspector, find the field labeled Kuizo Global Settings SO.

  5. Drag and drop your Kuizo Global Settings object into this field.

  6. Save your project.

The Kuizo Global Settings is now fully setup.

Where is the Default Location for Kuizo Global Settings objects

By default, the location for the Kuizo Global Settings Object is :

  • KamelMahjoub/Kuizo/Resources/Data/Settings

How to change the Kuizo Global Settings default location

This tutorial requires modifying scripts.

  1. In the Project window, navigate to KamelMahjoub/Kuizo/Scripts/Constants.

  2. Locate and open the script named KuizoFolderPaths.

  3. Inside the script, find the variable KuizoGlobalSettingsFolderPath.

  4. Update it to your desired location.

    • The Kuizo Global Settings object must be placed inside a Resources folder for proper loading at runtime.

  5. Save the script.

  6. Return to Unity and let it recompile the changes.

The Kuizo Global Settings object is now created and placed correctly. Next, we need to set it up:

The Kuizo Global Settings Object is now fully set up. Next, we need to assign it in the scene : .

How to setup a Kuizo Global Settings Object.
How to Assign a Kuizo Global Settings in the Scene