Example #1
0
 private void Awake()
 {
     _tile = GetComponent <DunGen.Tile>();
     if (_tile == null)
     {
         DestroyImmediate(this);
         return;
     }
 }