Updated Custom Interest Mgmt Template

This commit is contained in:
MrGadget1024 2021-12-02 18:20:14 -05:00
parent 051ebd9b26
commit 3a1a97f759

View File

@ -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()