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

Script language

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

NetworkIdentity.RebuildObservers

public void RebuildObservers(bool initialize);

Parameters

initializeTrue if this is the first time.

Description

This causes the set of players that can see this object to be rebuild. The OnRebuildObservers callback function will be invoked on each NetworkBehaviour.

Did you find this page useful? Please give it a rating: