Built out a simple level with some puzzles

This commit is contained in:
2018-04-21 21:46:34 +10:00
parent a8741ccc26
commit 011a1ce0c3
37 changed files with 12006 additions and 93 deletions
+12
View File
@@ -0,0 +1,12 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//shootable
public class IceDamager : DamagerBase {
void OnTriggerEnter2D(Collider2D collider) {
if (collider.gameObject.GetComponent<IceDamager> () == null && collider.gameObject.GetComponent<BlockGap> () == null) { //pass through other instances of self
Destroy (gameObject);
}
}
}