Beispiel #1
0
        public Cube(GameObject cube, BoxEvents boxEvent)
        {
            //this.boxObj = boxobj;
            this.cube     = cube;
            this.boxEvent = boxEvent;

            //cubePosition1 = new Vector3(4, 1, 4);
        }
Beispiel #2
0
 public Box(GameObject boxObj, BoxEvents boxEvent)
 {
     this.boxObj   = boxObj;
     this.boxEvent = boxEvent;
 }
Beispiel #3
0
        BoxEvents minionEvent; //What will happen when this box gets an event

        public Minion(GameObject minionObj, BoxEvents minionEvent)
        {
            this.minionObj   = minionObj;
            this.minionEvent = minionEvent;
        }