/// change the visual state of the symbol object to be highlighted somehow public void SetHighlightState(GameObject gameObject, bool active, PlayerSymbolState player) { var renderer = gameObject.GetComponent<Renderer>(); if (active) { renderer.material.SetColor("_BaseColor", player.symbolConfig.selectedColor); } else { renderer.material.SetColor("_BaseColor", player.symbolConfig.idleColor); } }
public UpdateSymbolsReadyState(bool ready, PlayerSymbolState player) { this.ready = ready; this.emitter = player.symbolConfig.readyNotice; }
public UpdateSymbolDisplayStates(SymbolPhrase phrase, PlayerSymbolState player) { this.phrase = phrase; this.slots = player.selectSlots; this.player = player; }
public UpdatePhraseHistory(PlayerSymbolState player) { this.history = player.history; }
public RandomizeSymbolStates(PlayerSymbolState player) { this.player = player; }