Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

ClientScene.DestroyAllClientObjects

Switch to Manual
public static function DestroyAllClientObjects(): void;

Description

Destroys all networked objects on the client.

This can be used to clean up when a network connection is closed.