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

SpawnDelegate

public delegate GameObject SpawnDelegate(Vector3 position, Networking.NetworkHash128 assetId);

Description

Signature of spawn functions that are passed to NetworkClient.RegisterSpawnFunction(). This is optional, as in most cases RegisterPrefab will be used instead.

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