Beispiel #1
0
 void Awake()
 {
     rend             = GetComponent <Renderer>();
     placeable        = transform.parent.GetComponent <Placeable>();
     placeableManager = PlaceableManager.Instance;
     placerLayer      = LayerMask.GetMask("Placers");
     col  = GetComponent <BoxCollider>();
     mask = LayerMask.GetMask("Tiles");
 }
Beispiel #2
0
 // // Start is called before the first frame update
 void Awake()
 {
     placeableManager = PlaceableManager.Instance;
 }