[Diving][Input] First doodle on first minigame with basic controller
This commit is contained in:
@@ -28,6 +28,18 @@ public class GameSettings : ScriptableObject
|
||||
[Header("Default Prefabs")]
|
||||
public GameObject basePickupPrefab;
|
||||
|
||||
[Header("Endless Descender Settings")]
|
||||
[Tooltip("How quickly the character follows the finger horizontally (higher = more responsive)")]
|
||||
public float endlessDescenderLerpSpeed = 12f;
|
||||
[Tooltip("Maximum horizontal offset allowed between character and finger position")]
|
||||
public float endlessDescenderMaxOffset = 3f;
|
||||
[Tooltip("Minimum allowed X position for endless descender movement")]
|
||||
public float endlessDescenderClampXMin = -3.5f;
|
||||
[Tooltip("Maximum allowed X position for endless descender movement")]
|
||||
public float endlessDescenderClampXMax = 3.5f;
|
||||
[Tooltip("Exponent for speed drop-off curve (higher = sharper drop near target)")]
|
||||
public float endlessDescenderSpeedExponent = 2.5f;
|
||||
|
||||
[System.Serializable]
|
||||
public class CombinationRule {
|
||||
public PickupItemData itemA;
|
||||
@@ -75,4 +87,9 @@ public class GameSettings : ScriptableObject
|
||||
public static float FollowerSpeedMultiplier => Instance.followerSpeedMultiplier;
|
||||
public static float HeldIconDisplayHeight => Instance.heldIconDisplayHeight;
|
||||
public static GameObject BasePickupPrefab => Instance.basePickupPrefab;
|
||||
public static float EndlessDescenderLerpSpeed => Instance.endlessDescenderLerpSpeed;
|
||||
public static float EndlessDescenderMaxOffset => Instance.endlessDescenderMaxOffset;
|
||||
public static float EndlessDescenderClampXMin => Instance.endlessDescenderClampXMin;
|
||||
public static float EndlessDescenderClampXMax => Instance.endlessDescenderClampXMax;
|
||||
public static float EndlessDescenderSpeedExponent => Instance.endlessDescenderSpeedExponent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user