Share via


Entity.Destroy Method

Definition

Destroys the entity.

public:
 void Destroy();
public void Destroy ();
member this.Destroy : unit -> unit
Public Sub Destroy ()

Remarks

Destroying an entity will also destroy all of its components and child entities. Once Destroy() has been called, Valid returns false.

Applies to

See also