Import Test files

This commit is contained in:
2025-12-13 19:57:35 +08:00
parent 227be5bbd9
commit 8915a26407
234 changed files with 27436 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//This is basically just the settings, this can maybe be a ScriptableObject
public class SC_GameVariables : MonoBehaviour
{
public GameObject bgTilePrefabs;
public SC_Gem bomb;
public SC_Gem[] gems;
public float bonusAmount = 0.5f;
public float bombChance = 2f;
public int dropHeight = 0;
public float gemSpeed;
public float scoreSpeed = 5;
[HideInInspector]
public int rowsSize = 7;
[HideInInspector]
public int colsSize = 7;
#region Singleton
static SC_GameVariables instance;
public static SC_GameVariables Instance
{
get
{
if (instance == null)
instance = GameObject.Find("SC_GameVariables").GetComponent<SC_GameVariables>();
return instance;
}
}
#endregion
}