Slots

Games ›› Treasure Hunt ›› Components ››
Parent Previous Next

Slot


These are the places hiding the rewards. Typically they will contain a visual representation for the Initial and the Opened state.



Closed State

Open Full State

Open Empty State




The open state should have a button that will be used to decide when the slot is been selected.




Closed State

GameObject that should be enabled when the slot is closed (initial state).

Open Empty

GameObject representing when the slot is opened and there is no reward inside.

Open Full

GameObject representing when the slot is opened and there is a reward inside.

On Reset

Callback used for initializing the slot. Called when the game starts or it's reset.

On Open Empty

Callback used to start sounds and effect when the slot is opened and there is no reward inside

On Open Full

Callback used to start sounds and effect when the slot is opened and there is a reward inside

Time Collect Reward

How long to wait once the slot is opened to show the reward. This can be used to wait for sounds or effects to finish.

Time New Round

How long to wait before allowing a new slot to be selected.

Created with the Personal Edition of HelpNDoc: Free Qt Help documentation generator