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.

NetworkBehaviour.SetDirtyBit

public void SetDirtyBit(uint dirtyBit);

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.