Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkSceneId.IsEmpty

public bool IsEmpty();

Returns

bool True if zero.

Description

Returns true if the value is zero. Non-scene objects - ones which are spawned at runtime will have a sceneId of zero.