using System.Collections; using System.Collections.Generic; using UnityEngine; public class ChariotModule{ public GameObject module; public int mass; public int life; public int price; public ChariotModule() { this.mass = 1; this.life = 100; this.price = 100; } public ChariotModule(GameObject obj) { this.module = obj; this.mass = 1; this.life = 100; this.price = 100; } public ChariotModule(GameObject obj, int mass, int life, int price) { this.module = obj; this.mass = mass; this.life = life; this.price = price; } }