- 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
77 lines
1.9 KiB
Plaintext
77 lines
1.9 KiB
Plaintext
%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: 033961b12e7b4289838d554c2264bacd, type: 3}
|
|
m_Name: DivingDeveloperSettings
|
|
m_EditorClassIdentifier:
|
|
bubbleUseObjectPooling: 1
|
|
bubbleInitialPoolSize: 10
|
|
bubbleMaxPoolSize: 30
|
|
bubbleSpawnInterval: 0.5
|
|
bubbleSpeedRange: {x: 0.5, y: 2}
|
|
bubbleScaleRange: {x: 0.3, y: 0.7}
|
|
bubbleWobbleSpeedRange: {x: 1, y: 3}
|
|
bubbleWobbleAmountRange: {x: 0.05, y: 0.15}
|
|
bubbleSpawnXMin: -3.5
|
|
bubbleSpawnXMax: 3.5
|
|
bubbleSpawnY: -5
|
|
bubbleWobbleMinScale: 0.2
|
|
bubbleWobbleMaxScale: 1.2
|
|
bubbleSurfacingSpeedFactor: 0.5
|
|
obstacleLayer: 11
|
|
obstacleUseObjectPooling: 1
|
|
obstacleMaxPerPrefabPoolSize: 3
|
|
obstacleTotalMaxPoolSize: 15
|
|
trenchTileLayer: 13
|
|
trenchTileUseObjectPooling: 1
|
|
trenchTileMaxPerPrefabPoolSize: 2
|
|
trenchTileTotalMaxPoolSize: 10
|
|
playerBlinkDamageColor: {r: 1, g: 0, b: 0, a: 1}
|
|
playerBlinkRate: 0.15
|
|
playerDamageColorAlpha: 0.7
|
|
playerWobbleFrequency: 1.5
|
|
playerBaseWobbleAmplitude: 8
|
|
playerSpeedToAmplitude: 2
|
|
playerMaxRotationLimit: 45
|
|
playerVerticalFrequency: 0.5
|
|
playerVerticalAmplitude: 0.2
|
|
playerVelocitySmoothing: 10
|
|
playerRotationSmoothing: 10
|
|
playerObstacleLayerMask:
|
|
serializedVersion: 2
|
|
m_Bits: 5120
|
|
blockInputDuringImmunity: 1
|
|
bumpMode: 0
|
|
bumpCurve:
|
|
serializedVersion: 2
|
|
m_Curve:
|
|
- serializedVersion: 3
|
|
time: 0
|
|
value: 0
|
|
inSlope: 0
|
|
outSlope: 2
|
|
tangentMode: 0
|
|
weightedMode: 0
|
|
inWeight: 0
|
|
outWeight: 0
|
|
- serializedVersion: 3
|
|
time: 1
|
|
value: 1
|
|
inSlope: 0
|
|
outSlope: 0
|
|
tangentMode: 0
|
|
weightedMode: 0
|
|
inWeight: 0
|
|
outWeight: 0
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|