What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-16 13:35:27
The type or namespace name 'Target' could not be found (are you missing a using directive or an assembly reference?)
} public float damage = 100f; // Update is called once per frame void Update () { if (Input.GetButtonDown("Fire1")) { shoot(); } } void shoot() { RaycastHit hit; if (Physics.Raycast(transform.position,transform.forwa... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5