Bearbeiten

Freigeben über


Interactable.SetCollision(Boolean) Method

Definition

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

Applies to