mirror of
				https://github.com/DerTyp7/defrain-shooter-unity.git
				synced 2025-10-31 13:37:08 +01:00 
			
		
		
		
	Fuck nothing works
This commit is contained in:
		| @@ -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"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 juliuse98
					juliuse98