mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fix smell, call parameter the same as base method
This commit is contained in:
parent
f4a8692873
commit
0beba4dd2b
@ -95,9 +95,9 @@ public override bool OnCheckObserver(NetworkConnection conn)
|
|||||||
/// Called when a new player enters, and when scene changes occur
|
/// Called when a new player enters, and when scene changes occur
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="observers">List of players to be updated. Modify this set with all the players that can see this object</param>
|
/// <param name="observers">List of players to be updated. Modify this set with all the players that can see this object</param>
|
||||||
/// <param name="initial">True if this is the first time the method is called for this object</param>
|
/// <param name="initialize">True if this is the first time the method is called for this object</param>
|
||||||
/// <returns>True if this component calculated the list of observers</returns>
|
/// <returns>True if this component calculated the list of observers</returns>
|
||||||
public override bool OnRebuildObservers(HashSet<NetworkConnection> observers, bool initial)
|
public override bool OnRebuildObservers(HashSet<NetworkConnection> observers, bool initialize)
|
||||||
{
|
{
|
||||||
// if force hidden then return without adding any observers.
|
// if force hidden then return without adding any observers.
|
||||||
if (forceHidden)
|
if (forceHidden)
|
||||||
|
Loading…
Reference in New Issue
Block a user