mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Updated Interest Management Script Template
This commit is contained in:
parent
c4e9071700
commit
2554372913
@ -32,9 +32,8 @@ public class #SCRIPTNAME# : InterestManagement
|
||||
/// </summary>
|
||||
/// <param name="identity">Object to be observed (or not) by clients</param>
|
||||
/// <param name="newObservers">cached hashset to put the result into</param>
|
||||
/// <param name="initialize">true if being rebuilt for the first time</param>
|
||||
[ServerCallback]
|
||||
public override void OnRebuildObservers(NetworkIdentity identity, HashSet<NetworkConnectionToClient> newObservers, bool initialize)
|
||||
public override void OnRebuildObservers(NetworkIdentity identity, HashSet<NetworkConnectionToClient> newObservers)
|
||||
{
|
||||
// Default behaviour of making the identity object visible to all clients.
|
||||
// Replace this code with your own logic as appropriate.
|
||||
|
Loading…
Reference in New Issue
Block a user