This commit is contained in:
2025-12-15 03:44:53 +08:00
parent 25a5950e8d
commit 2a3bcf7423
12 changed files with 326 additions and 107 deletions

View File

@@ -5,23 +5,18 @@ using Structs;
using UnityEngine;
using Views;
//Done, moved to GameVariables scriptable object
namespace ScriptableObjects {
[CreateAssetMenu(fileName = "GameVariables", menuName = "Game Variables")]
public class GameVariables : ScriptableObject {
public GameObject bgTilePrefabs;
public GemTypeValues[] gemsPrefabs;
public float bonusAmount = 0.5f;
public float bombChance = 2f;
public float bombDelay = 0.1f;
public float bombSelfDelay = 0.05f;
public int bombRadius = 1;
public int dropHeight = 1;
public float gemSpeed = 0.1f;
public float scoreSpeed = 5;
public int width;
public int height;
[HideInInspector]
public int rowsSize = 7;
[HideInInspector]
public int colsSize = 7;
}
}