LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

SpatialMappingCollider.enableCollisions

public bool enableCollisions;

Description

Enables/Disables MeshCollider components on all spatial surfaces associated with the SpatialMappingCollider component instance.