public Cube(GameObject cube, BoxEvents boxEvent) { //this.boxObj = boxobj; this.cube = cube; this.boxEvent = boxEvent; //cubePosition1 = new Vector3(4, 1, 4); }
public Box(GameObject boxObj, BoxEvents boxEvent) { this.boxObj = boxObj; this.boxEvent = boxEvent; }
BoxEvents minionEvent; //What will happen when this box gets an event public Minion(GameObject minionObj, BoxEvents minionEvent) { this.minionObj = minionObj; this.minionEvent = minionEvent; }