-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSettings.cs
More file actions
49 lines (44 loc) · 1.63 KB
/
Copy pathSettings.cs
File metadata and controls
49 lines (44 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "GameSettings")]
public class Settings : ScriptableObject
{
[Header("Mash settings")]
[SerializeField]
private float mashGrowSpeed = 0.01f;
[SerializeField]
private float mashScaleY = 0.25f;
[SerializeField]
private float minMashScale = 0.1f;
[SerializeField]
private float maxMashScale = 1.0f;
[Header("Perfect Move settings")]
[SerializeField]
private float maxDeviation = 0.05f;
[Header("Wave settings")]
[SerializeField]
private float currentMashScaleToAdd = 0.4f;
[SerializeField]
private float currentMashScaleToSubstract = 0.2f;
[SerializeField]
private float otherMashesScaleToAdd = 0.3f;
[SerializeField]
private float otherMashesScaleToMultiplyBy = 0.8f;
#region MashSettings
public float MashScaleY { get { return mashScaleY; } }
public float MashGrowSpeed { get { return mashGrowSpeed; } }
public float MinMashScale { get { return minMashScale; } }
public float MaxMashScale { get { return maxMashScale; } }
#endregion
#region PerfectMoveSettings
public float MaxDeviation { get { return maxDeviation; } }
#endregion
#region WaveSettings
public float CurrentMashScaleToAdd { get { return currentMashScaleToAdd; } }
public float CurrentMashScaleToSubstract { get { return currentMashScaleToSubstract; } }
public float OtherMashesScaleToAdd { get { return otherMashesScaleToAdd; } }
public float OtherMashesScaleToMultiplyBy { get { return otherMashesScaleToMultiplyBy; } }
#endregion
}