function Start ()

{
var distances = new float[32];
// Set up layer 10 to cull at 15 meters distance.
// All other layers use the far clip plane distance.
distances[8] = 5;
distances[9] = 2;
camera.layerCullDistances = distances;
}

相关文章:

  • 2022-03-01
  • 2022-01-07
  • 2021-11-05
  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-05
猜你喜欢
  • 2021-10-26
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案