Table of Contents

Class NetworkSandboxExts

Namespace
Netick
Assembly
Netick.Premium.Unity.dll
public static class NetworkSandboxExts
Inheritance
NetworkSandboxExts
Inherited Members

Methods

OverlapSphere(NetworkSandbox, Vector3, float, List<LagCompHit>, NetworkPlayer, int, QueryTriggerInteraction, bool, bool, bool)

public static void OverlapSphere(this NetworkSandbox sandbox, Vector3 center, float radius, List<LagCompHit> hits, NetworkPlayer inputSource, int layerMask = -5, QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal, bool includeUnityColliders = true, bool includeInputSource = false, bool oneHitPerHitshapeContainer = false)

Parameters

sandbox NetworkSandbox
center Vector3
radius float
hits List<LagCompHit>
inputSource NetworkPlayer
layerMask int
queryTriggerInteraction QueryTriggerInteraction
includeUnityColliders bool
includeInputSource bool
oneHitPerHitshapeContainer bool

Raycast(NetworkSandbox, Vector3, Vector3, out LagCompHit, NetworkPlayer, float, int, QueryTriggerInteraction, bool, bool)

public static bool Raycast(this NetworkSandbox sandbox, Vector3 origin, Vector3 direction, out LagCompHit hitData, NetworkPlayer inputSource, float maxDistance = Infinity, int layerMask = -5, QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal, bool includeUnityColliders = true, bool includeInputSource = false)

Parameters

sandbox NetworkSandbox
origin Vector3
direction Vector3
hitData LagCompHit
inputSource NetworkPlayer
maxDistance float
layerMask int
queryTriggerInteraction QueryTriggerInteraction
includeUnityColliders bool
includeInputSource bool

Returns

bool