Integrate minigame and courses
This commit is contained in:
22
Assets/Common/Scripts/Minigame.cs
Normal file
22
Assets/Common/Scripts/Minigame.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(menuName = "Create new Scriptable/Minigame")]
|
||||
public class Minigame : ScriptableObject
|
||||
{
|
||||
[Header("Minigame info")]
|
||||
// Minigame index
|
||||
public MinigameIndex index;
|
||||
// Minigame title
|
||||
public string title;
|
||||
// Short desciption of the course
|
||||
public string description;
|
||||
// Thumbnail of the course
|
||||
public Sprite thumbnail;
|
||||
|
||||
[Header("Scene")]
|
||||
// Reference to the minigame starting scene
|
||||
public string minigameEntryPoint;
|
||||
}
|
||||
Reference in New Issue
Block a user