Fuck nothing works

This commit is contained in:
juliuse98
2021-11-11 09:08:18 +01:00
parent ea8394bd16
commit 2f530971c0
28 changed files with 3198 additions and 305 deletions

View File

@@ -4,6 +4,10 @@ using UnityEngine;
public class ShootAnimation : MonoBehaviour
{
[Header("Step Settings")]
[SerializeField] private float stepAmplitude;
[SerializeField] private float stepFrequency;
private float stepSin;
[Header("GameObjects")]
[SerializeField] private GameObject gun;
@@ -68,7 +72,7 @@ public class ShootAnimation : MonoBehaviour
}
public void recoil(GameObject gun, float force)
public void recoil(float force)
{
//Play the animation
anim.Play("Shoot");