public void SetAboveDestroyable() { if (adjacencies[2] != null) { CubeScript cubeScript = adjacencies[2].GetComponent <CubeScript>(); cubeScript.destroyable = true; cubeScript.SetAboveDestroyable(); } }
public void SetAboveDestroyable() { if (adjacencies[2] != null) { CubeScript cubeScript = adjacencies[2].GetComponent <CubeScript>(); cubeScript.destroyable = true; cubeScript.SetAboveDestroyable(); } }