mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
comments
This commit is contained in:
parent
99db407990
commit
7206c56a53
@ -78,14 +78,12 @@ public virtual void SetHostVisibility(NetworkIdentity identity, bool visible)
|
||||
rend.enabled = visible;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is called on the server when a new networked object is spawned
|
||||
/// </summary>
|
||||
/// <summary>Called on the server when a new networked object is spawned.</summary>
|
||||
// (useful for 'only rebuild if changed' interest management algorithms)
|
||||
public virtual void OnSpawned(NetworkIdentity identity) {}
|
||||
|
||||
/// <summary>
|
||||
/// This is called on the server when a networked object is destroyed
|
||||
/// </summary>
|
||||
/// <summary>Called on the server when a networked object is destroyed.</summary>
|
||||
// (useful for 'only rebuild if changed' interest management algorithms)
|
||||
public virtual void OnDestroyed(NetworkIdentity identity) {}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user