small fixes
This commit is contained in:
@ -54,6 +54,7 @@ public class PlayerAnimationController : MonoBehaviour
|
||||
{
|
||||
animController.SetBool("IsCarrying", interactionHandler.IsCarrying);
|
||||
animController.SetBool("HasGun",interactionHandler.GunEnabled);
|
||||
print("carrying:" + interactionHandler.IsCarrying + " running:"+animController.GetBool(runningParameter)+" running speed:" + animController.GetFloat(runningSpeedParameter));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -68,9 +68,9 @@ public class PlayerInteractionHandler : MonoBehaviour
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
if(Input.GetButtonDown("Fire1"))
|
||||
{
|
||||
if (this.GunEnabled)
|
||||
|
Reference in New Issue
Block a user