[Player][Interactions] Items can be switched when picked up now
This commit is contained in:
@@ -25,6 +25,9 @@ public class GameSettings : ScriptableObject
|
||||
public float followerSpeedMultiplier = 1.2f;
|
||||
public float heldIconDisplayHeight = 2.0f;
|
||||
|
||||
[Header("Default Prefabs")]
|
||||
public GameObject basePickupPrefab;
|
||||
|
||||
// Singleton pattern
|
||||
private static GameSettings _instance;
|
||||
public static GameSettings Instance {
|
||||
@@ -53,4 +56,5 @@ public class GameSettings : ScriptableObject
|
||||
public static float FollowUpdateInterval => Instance.followUpdateInterval;
|
||||
public static float FollowerSpeedMultiplier => Instance.followerSpeedMultiplier;
|
||||
public static float HeldIconDisplayHeight => Instance.heldIconDisplayHeight;
|
||||
public static GameObject BasePickupPrefab => Instance.basePickupPrefab;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user