27 lines
817 B
C#
27 lines
817 B
C#
using Structs;
|
|
using UnityEngine;
|
|
|
|
namespace ScriptableObjects {
|
|
[CreateAssetMenu(fileName = "GameVariables", menuName = "Game Variables")]
|
|
public class GameVariables : ScriptableObject {
|
|
[Header("Prefabs")]
|
|
public GameObject bgTilePrefabs;
|
|
public GemTypeValues[] gemsPrefabs;
|
|
[Header("Board Setup")]
|
|
public int width;
|
|
public int height;
|
|
|
|
[Header("Bomb")]
|
|
[Tooltip("How long before the gems around the bomb explode")]
|
|
public float bombDelay = 0.1f;
|
|
[Tooltip("How far the explosion reaches")]
|
|
public int bombRadius = 1;
|
|
|
|
[Header("Gem and Bomb Spawn")]
|
|
public float dropHeight = 1;
|
|
public float gemSpeed = 0.1f;
|
|
|
|
[Header("Score")]
|
|
public float scoreSpeed = 5;
|
|
}
|
|
} |