Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkBehaviour.SetDirtyBit

Switch to Manual
public function SetDirtyBit(dirtyBit: uint): void;

Parameters

dirtyBit Bit mask to set.

Description

Used to set the behaviour as dirty, so that a network update will be sent for the object.