Advertisement
Dieton

Weapon

May 28th, 2023
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.35 KB | Gaming | 0 0
  1. using UnityEngine;
  2.  
  3. namespace QuickStart
  4. {
  5.     public class Weapon : MonoBehaviour
  6.     {
  7.         public float weaponSpeed = 15.0f;
  8.         public float weaponLife = 3.0f;
  9.         public float weaponCooldown = 1.0f;
  10.         public int weaponAmmo = 15;
  11.  
  12.         public GameObject weaponBullet;
  13.         public Transform weaponFirePosition;
  14.     }
  15. }
Tags: Unity mirror
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement