Table of Contents

Class wwRewardChest

Namespace
FistVR
Assembly
Assembly-CSharp.dll
public class wwRewardChest : MonoBehaviour
Inheritance
wwRewardChest

Constructors

wwRewardChest()

public wwRewardChest()

Fields

BlackOut

public GameObject BlackOut

Field Value

GameObject

Cap

public Transform Cap

Field Value

Transform

ChestOpenEvent

public AudioEvent ChestOpenEvent

Field Value

AudioEvent

ChestUnlockedEvent

public AudioEvent ChestUnlockedEvent

Field Value

AudioEvent

Index

public int Index

Field Value

int

KeyPosition

public Transform KeyPosition

Field Value

Transform

KeyPrefab

public GameObject KeyPrefab

Field Value

GameObject

Lock

public GameObject Lock

Field Value

GameObject

Manager

public wwParkManager Manager

Field Value

wwParkManager

ReadyToOpenParticles

public GameObject ReadyToOpenParticles

Field Value

GameObject

ReadyToOpenTrigger

public GameObject ReadyToOpenTrigger

Field Value

GameObject

RewardPoints

public Transform[] RewardPoints

Field Value

Transform[]

RewardPrefabs

public GameObject[] RewardPrefabs

Field Value

GameObject[]

RewardUnlocks

public ItemSpawnerID[] RewardUnlocks

Field Value

ItemSpawnerID[]

Methods

Awake()

public void Awake()

GetState()

public int GetState()

Returns

int

OpenChest()

public void OpenChest()

SetState(int, bool)

public void SetState(int newState, bool stateEvent)

Parameters

newState int
stateEvent bool

UnlockChest()

public void UnlockChest()