VR Weapons. New to Unity and need help.

Hello. I’m doing a school project and I’m tasked with creating a virtual reality weapon system. However, I have nearly zero knowledge of coding and Unity software. I’ve figured out how to pick up the weapons so far by throwing prefabs together using Oculus Integration. I’m not great at coding and we aren’t allowed to spend any money on assets. We are only allowed to use free ones. This is due by the end of the year and I’m not sure I can finish it even by then. Thank you for your help

There is a free asset that might be worth looking at: Easy Weapons | Systems | Unity Asset Store

hope this helps.

For the scripting part you should create a weapon script with variables and a trigger method to hit objects. Here is a simple example that is working.

 public class MeleeWeapon : MonoBehaviour
 {
 public int weapondmg = 100;
void OnTriggerEnter(Collider other)
{
   
    if (other.gameObject.CompareTag("Player"))
    {
        other.gameObject.GetComponent<PlayerBeh>().TakeDamage(weapondmg);
    }
 }
}

You also need a script for your objects or players to be destroyed or take damage from the weapons. Here I am using a script to call TakeDamage function of PlayerBeh script.