Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class ItemDatabase : MonoBehaviour {
  6. public List<Item> items = new List<Item>();
  7.  
  8. private void Start() {
  9. ItemDatabaseSetup();
  10. }
  11. private void ItemDatabaseSetup()
  12. {
  13. items.Add(new Item("Deagle", "A 12.7mm Weapon", "Glock_Item", 0));
  14. }
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement