You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

38 lines
1.0 KiB

using System;
using System.Runtime.Remoting.Messaging;
using Global;
using UnityEngine;
namespace Game {
[CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/BalanceValues", order = 0)]
public class BalanceValues : ScriptableObject {
[Serializable]
public struct SpawnRatesValue {
public SpawnRate spawnRate;
public float baseSeconds;
}
[Serializable]
public struct SpawnableSpawnRates {
public Spawnable spawnable;
public SpawnRatesValue[] values;
}
[Header("Spawning")]
public SpawnableSpawnRates[] spawnRates;
public Vector2 spawnArea;
[Header("Player")]
public float playerSpeed;
public float playerSpeedMultiplier;
public float playerWidth;
public float playerWidthMultiplier;
public float playerBorder;
public float playerBorderSummand;
[Header("AI")]
public float aiFutureSecondsBase;
public float aiFutureSecondsPerDifficulty;
public Difficulty aiSmartIdleMinDifficulty;
[Header("Ball")]
public float ballSpeed;
public float ballSpeedMultiplier;
}
}