Revamp the settings system (#7)
- A Settings Provider system to utilize addressables for loading settings at runtime - An editor UI for easy modifications of the settings objects - A split out developer settings functionality to keep gameplay and nitty-gritty details separately - Most settings migrated out of game objects and into the new system - An additional Editor utility for fetching the settings at editor runtime, for gizmos, visualization etc Co-authored-by: Michal Pikulski <michal.a.pikulski@gmail.com> Co-authored-by: AlexanderT <alexander@foolhardyhorizons.com> Reviewed-on: #7
This commit is contained in:
48
Assets/Settings/DivingMinigameSettings.asset
Normal file
48
Assets/Settings/DivingMinigameSettings.asset
Normal file
@@ -0,0 +1,48 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0ce4dba7a1c54e73b1b3d7131a1c0570, type: 3}
|
||||
m_Name: DivingMinigameSettings
|
||||
m_EditorClassIdentifier:
|
||||
lerpSpeed: 2
|
||||
maxOffset: 10
|
||||
clampXMin: -3.5
|
||||
clampXMax: 3.5
|
||||
speedExponent: 0.97
|
||||
tapMaxDistance: 0.2
|
||||
tapDecelerationRate: 15
|
||||
baseSpawnProbability: 0.2
|
||||
maxSpawnProbability: 0.5
|
||||
probabilityIncreaseRate: 0.01
|
||||
guaranteedSpawnTime: 30
|
||||
spawnCooldown: 5
|
||||
basePoints: 100
|
||||
depthMultiplier: 10
|
||||
speedTransitionDuration: 2
|
||||
surfacingSpeedFactor: 3
|
||||
surfacingSpawnDelay: 5
|
||||
initialTileCount: 3
|
||||
tileSpawnBuffer: 1
|
||||
moveSpeed: 2
|
||||
speedUpFactor: 0
|
||||
speedUpInterval: 10
|
||||
maxMoveSpeed: 12
|
||||
velocityCalculationInterval: 0.5
|
||||
obstacleSpawnInterval: 2
|
||||
obstacleSpawnIntervalVariation: 0.5
|
||||
obstacleMaxSpawnAttempts: 10
|
||||
obstacleSpawnCollisionRadius: 1
|
||||
obstacleMinMoveSpeed: 1
|
||||
obstacleMaxMoveSpeed: 4
|
||||
damageImmunityDuration: 1
|
||||
bumpForce: 5
|
||||
smoothMoveSpeed: 8
|
||||
blockInputDuringBump: 1
|
||||
Reference in New Issue
Block a user