add throwable hand

This commit is contained in:
2026-03-27 15:57:01 -05:00
parent 6e22731e50
commit 57b14d4ba9
11 changed files with 1626 additions and 1 deletions
+8
View File
@@ -153,6 +153,14 @@ public Image GetBlackScreen()
return Instance.blackScreen;
}
/// <summary>
/// Get the playerContoller object reference
/// </summary>
public PlayerController GetPlayerController()
{
return Instance.playerController;
}
#region Storybool Save/Load
public void SaveStoryBools(ref StoryboolSaveData data)
{
-1
View File
@@ -31,7 +31,6 @@ void Start()
characterController = GetComponent<CharacterController>();
cameraController = GetComponent<CameraController>();
SwitchTools(GameManager.Instance.PlayerManager.CurrentToolIndex);
}
// Update is called once per frame
+1
View File
@@ -2,6 +2,7 @@
public class Shovel : Tool
{
[Header("Shovel Parameters")]
public Animator shovelAnimator;
public override void Use()
+2
View File
@@ -2,6 +2,8 @@
public abstract class Tool : MonoBehaviour
{
[Header("Base Tool Parameters")]
public float useTimeSec;
public float altUseTimeSec;
public bool inUse;