mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Updated Custom Interest Mgmt Template
This commit is contained in:
parent
051ebd9b26
commit
3a1a97f759
@ -47,20 +47,14 @@ public class #SCRIPTNAME# : InterestManagement
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="identity">NetworkIdentity of the object being spawned</param>
|
/// <param name="identity">NetworkIdentity of the object being spawned</param>
|
||||||
[ServerCallback]
|
[ServerCallback]
|
||||||
public override void OnSpawned(NetworkIdentity identity)
|
public override void OnSpawned(NetworkIdentity identity) { }
|
||||||
{
|
|
||||||
base.OnSpawned(identity);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Called on the server when a networked object is destroyed.
|
/// Called on the server when a networked object is destroyed.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="identity">NetworkIdentity of the object being destroyed</param>
|
/// <param name="identity">NetworkIdentity of the object being destroyed</param>
|
||||||
[ServerCallback]
|
[ServerCallback]
|
||||||
public override void OnDestroyed(NetworkIdentity identity)
|
public override void OnDestroyed(NetworkIdentity identity) { }
|
||||||
{
|
|
||||||
base.OnDestroyed(identity);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Callback used by the visibility system for objects on a host.
|
/// Callback used by the visibility system for objects on a host.
|
||||||
@ -82,10 +76,7 @@ public class #SCRIPTNAME# : InterestManagement
|
|||||||
/// Called by NetworkServer in Initialize and Shutdown
|
/// Called by NetworkServer in Initialize and Shutdown
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ServerCallback]
|
[ServerCallback]
|
||||||
public override void Reset()
|
public override void Reset() { }
|
||||||
{
|
|
||||||
base.Reset();
|
|
||||||
}
|
|
||||||
|
|
||||||
[ServerCallback]
|
[ServerCallback]
|
||||||
void Update()
|
void Update()
|
||||||
|
Loading…
Reference in New Issue
Block a user