C# Class UnityEngine.Networking.NetworkProximityChecker

Inheritance: NetworkBehaviour
ファイルを表示 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_oe property

Which method to use for checking proximity of players.

public CheckMethod checkMethod
return CheckMethod

forceHidden public_oe property

Flag to force this object to be hidden for players.

public bool forceHidden
return bool

visRange public_oe property

The maximim range that objects will be visible at.

public int visRange
return int

visUpdateInterval public_oe property

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

public float visUpdateInterval
return float