Create All Needed Scripts

This commit is contained in:
2025-12-14 09:23:38 +08:00
parent 980b26dd5e
commit 6fe70bd113
53 changed files with 1988 additions and 195 deletions

View File

@@ -0,0 +1,23 @@
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 GemView bombPrefab;
public GemView[] gemsPrefabs;
public GameObject[] destroyEffectPrefabs;
public float bonusAmount = 0.5f;
public float bombChance = 2f;
public int dropHeight = 1;
public float gemSpeed = 7;
public float scoreSpeed = 5;
[HideInInspector]
public int rowsSize = 7;
[HideInInspector]
public int colsSize = 7;
}
}