23 lines
723 B
C#
23 lines
723 B
C#
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;
|
|
}
|
|
} |