Advertisement
evelynshilosky

Blueprint - Part 8

Jun 2nd, 2024
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.56 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class Blueprint
  6. {
  7.  
  8.     public string itemName;
  9.  
  10.     public string Req1;
  11.     public string Req2;
  12.  
  13.     public int Req1amount;
  14.     public int Req2amount;
  15.  
  16.     public int numOfRequirements;
  17.  
  18.     public Blueprint(string name, int reqNUM, string R1, int R1num, string R2, int R2num)
  19.     {
  20.         itemName = name;
  21.  
  22.         numOfRequirements = reqNUM;
  23.  
  24.         Req1 = R1;
  25.         Req2 = R2;
  26.  
  27.         Req1amount = R1num;
  28.         Req2amount = R2num;
  29.  
  30.     }
  31.  
  32.  
  33.  
  34.  
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement