Skip to content

GEM_ZoneBoundaryVolume

← Back to Runtime | Home

Namespace: wevr.GEM.Runtime

Type: Class

Inherits: NetworkBehaviour

Description

This script defines and provides editing functionality for a GEM Zone.

Properties

ActiveTimeout

float ActiveTimeout { get; set; }

MaxAllowedGroups

int MaxAllowedGroups { get; set; }

StageIndex

int StageIndex { get; set; }

bounds

Bounds bounds { get; set; }

isZoneTimingOut

bool isZoneTimingOut { get; set; }

Events

BoundsChanged

event Action BoundsChanged

Methods

CompleteTimeout_RPC

void CompleteTimeout_RPC()

EncompassesPoint

bool EncompassesPoint(Vector3 worldPoint)

IsInBounds

bool IsInBounds(Vector3 worldPos)

OnNetworkSpawn

override void OnNetworkSpawn()

SetBounds

void SetBounds(Bounds newBounds)

SetGameZoneActive

void SetGameZoneActive(bool newActive)

Update

void Update()

Fields

allowMultipleGroups

bool allowMultipleGroups

timeout

float timeout