C# Class UnityEngine.Networking.NetworkProximityChecker

Inheritance: NetworkBehaviour
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Свойство Type Description
checkMethod CheckMethod
forceHidden bool
visRange int
visUpdateInterval float

Méthodes publiques

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

Private Methods

Méthode Description
SetVis ( GameObject go, bool vis ) : void
Update ( ) : void

Method Details

OnCheckObserver() public méthode

public OnCheckObserver ( NetworkConnection newObserver ) : bool
newObserver NetworkConnection
Résultat bool

OnRebuildObservers() public méthode

public OnRebuildObservers ( HashSet observers, bool initial ) : bool
observers HashSet
initial bool
Résultat bool

OnSetLocalVisibility() public méthode

public OnSetLocalVisibility ( bool vis ) : void
vis bool
Résultat void

Property Details

checkMethod public_oe property

Which method to use for checking proximity of players.

public CheckMethod checkMethod
Résultat CheckMethod

forceHidden public_oe property

Flag to force this object to be hidden for players.

public bool forceHidden
Résultat bool

visRange public_oe property

The maximim range that objects will be visible at.

public int visRange
Résultat 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
Résultat float