C# Class UnityEngine.Networking.NetworkProximityChecker

Inheritance: NetworkBehaviour
Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
checkMethod CheckMethod
forceHidden bool
visRange int
visUpdateInterval float

Public Methods

Method Description
OnCheckObserver ( NetworkConnection newObserver ) : bool
OnRebuildObservers ( HashSet observers, bool initial ) : bool
OnSetLocalVisibility ( bool vis ) : void

Private Methods

Method Description
SetVis ( GameObject go, bool vis ) : void
Update ( ) : void

Method Details

OnCheckObserver() public method

public OnCheckObserver ( NetworkConnection newObserver ) : bool
newObserver NetworkConnection
return bool

OnRebuildObservers() public method

public OnRebuildObservers ( HashSet observers, bool initial ) : bool
observers HashSet
initial bool
return bool

OnSetLocalVisibility() public method

public OnSetLocalVisibility ( bool vis ) : void
vis bool
return void

Property Details

checkMethod public property

Which method to use for checking proximity of players.

public CheckMethod checkMethod
return CheckMethod

forceHidden public property

Flag to force this object to be hidden for players.

public bool forceHidden
return bool

visRange public property

The maximim range that objects will be visible at.

public int visRange
return int

visUpdateInterval public property

How often (in seconds) that this object should update the set of players that can see it.

public float visUpdateInterval
return float