PD
Size: a a a
PD
B[
B[
PD
DZ
PD
PD
DZ
PD
PD
PD
PD
var allowPlacement = true;
foreach (var part in GameMaster.Instance.placedParts)
{
Debug.Log(GameMaster.Instance.placedParts.Count);
if (m_Collider.bounds.Intersects(part.GetComponent<BoxCollider>().bounds))
{
allowPlacement = false;
break;;
}
}
if (!allowPlacement)
{
...
}
DZ
F
PD
PD
DZ
PD
ДM
AV