FrameIT
ShinyThings Class Reference
Inheritance diagram for ShinyThings:

Public Member Functions

void Start ()
 
void Update ()
 
void OnMouseOverFact (Transform selection)
 
void OnMouseOverFactEnd (Transform selection)
 
void HighlightWithFireworks (Fact fact)
 
void HighlightFact (Fact startFact)
 
void StopHighlighting ()
 
void StartPushoutFactFailHighlighting (Fact startFact)
 
void CheckPushoutHighlighting ()
 
void slowDownAnimation (ParticleSystem main1, ParticleSystem main2)
 

Public Attributes

WorldCursor Cursor
 
Material defaultMaterial
 
Material highlightMaterial
 
GameObject directionalLight
 
Material pushoutMaterial
 
GameObject Fireworks_Animation
 
GameObject RainPrefab
 

Properties

bool timerActive [getset]
 
float timer [getset]
 

Private Member Functions

void Highlighting (RaycastHit hit)
 
void OnMouseOverSnapZoneEnd (Transform selection)
 
void OnMouseOverSnapZone (Transform selection)
 

Private Attributes

string selectableTag = "Selectable"
 
Transform lastFactSelection
 
Fact highlightedPushoutFact
 
GameObject extraHighlight
 
float timerDuration = 2.5f
 
float timerDurationEnd = 5.0f
 
int slowDownCount = 8
 
int slowDownCounter
 
bool[] slowDownSwitch
 
float simulationSpeed
 
Boolean pushoutFail
 
Color lightColor
 
Color tempColor
 
Color darkColor
 
Boolean factAnimationActive = false
 
float speedSlowDown
 
Material tempMaterial
 

Member Function Documentation

◆ CheckPushoutHighlighting()

void ShinyThings.CheckPushoutHighlighting ( )

◆ HighlightFact()

void ShinyThings.HighlightFact ( Fact  startFact)

◆ Highlighting()

void ShinyThings.Highlighting ( RaycastHit  hit)
private

◆ HighlightWithFireworks()

void ShinyThings.HighlightWithFireworks ( Fact  fact)

◆ OnMouseOverFact()

void ShinyThings.OnMouseOverFact ( Transform  selection)

◆ OnMouseOverFactEnd()

void ShinyThings.OnMouseOverFactEnd ( Transform  selection)

◆ OnMouseOverSnapZone()

void ShinyThings.OnMouseOverSnapZone ( Transform  selection)
private

◆ OnMouseOverSnapZoneEnd()

void ShinyThings.OnMouseOverSnapZoneEnd ( Transform  selection)
private

◆ slowDownAnimation()

void ShinyThings.slowDownAnimation ( ParticleSystem  main1,
ParticleSystem  main2 
)

◆ Start()

void ShinyThings.Start ( )

◆ StartPushoutFactFailHighlighting()

void ShinyThings.StartPushoutFactFailHighlighting ( Fact  startFact)

◆ StopHighlighting()

void ShinyThings.StopHighlighting ( )

◆ Update()

void ShinyThings.Update ( )

Member Data Documentation

◆ Cursor

WorldCursor ShinyThings.Cursor

◆ darkColor

Color ShinyThings.darkColor
private

◆ defaultMaterial

Material ShinyThings.defaultMaterial

◆ directionalLight

GameObject ShinyThings.directionalLight

◆ extraHighlight

GameObject ShinyThings.extraHighlight
private

◆ factAnimationActive

Boolean ShinyThings.factAnimationActive = false
private

◆ Fireworks_Animation

GameObject ShinyThings.Fireworks_Animation

◆ highlightedPushoutFact

Fact ShinyThings.highlightedPushoutFact
private

◆ highlightMaterial

Material ShinyThings.highlightMaterial

◆ lastFactSelection

Transform ShinyThings.lastFactSelection
private

◆ lightColor

Color ShinyThings.lightColor
private

◆ pushoutFail

Boolean ShinyThings.pushoutFail
private

◆ pushoutMaterial

Material ShinyThings.pushoutMaterial

◆ RainPrefab

GameObject ShinyThings.RainPrefab

◆ selectableTag

string ShinyThings.selectableTag = "Selectable"
private

◆ simulationSpeed

float ShinyThings.simulationSpeed
private

◆ slowDownCount

int ShinyThings.slowDownCount = 8
private

◆ slowDownCounter

int ShinyThings.slowDownCounter
private

◆ slowDownSwitch

bool [] ShinyThings.slowDownSwitch
private

◆ speedSlowDown

float ShinyThings.speedSlowDown
private

◆ tempColor

Color ShinyThings.tempColor
private

◆ tempMaterial

Material ShinyThings.tempMaterial
private

◆ timerDuration

float ShinyThings.timerDuration = 2.5f
private

◆ timerDurationEnd

float ShinyThings.timerDurationEnd = 5.0f
private

Property Documentation

◆ timer

float ShinyThings.timer
getsetprivate

◆ timerActive

bool ShinyThings.timerActive
getsetprivate

The documentation for this class was generated from the following file: