Interactable.SetCollision(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use HasCollision property instead
Change the collision state
public:
virtual void SetCollision(bool collision);
[System.Obsolete("Use HasCollision property instead")]
public virtual void SetCollision (bool collision);
[<System.Obsolete("Use HasCollision property instead")>]
abstract member SetCollision : bool -> unit
override this.SetCollision : bool -> unit
Public Overridable Sub SetCollision (collision As Boolean)
Parameters
- collision
- Boolean
- Attributes