private void SetupLayers() { UTUtils.CreateLayer("CameraSystem", emptyLayer); for (int i = 0; i < 32; i++) { if (i == emptyLayer) { continue; } Physics.IgnoreLayerCollision(emptyLayer, i, true); } cameraPPLayer = emptyLayer; }
private void SetupLayers() { UTUtils.CreateLayer("CameraSystem", emptyLayer); for (int i = 0; i < 32; i++) { if (i == emptyLayer) { continue; } Physics.IgnoreLayerCollision(emptyLayer, i, true); } cameraPPLayer = emptyLayer; }