public virtual void Selected() { stateDisplay.UpdateState("Selected"); isSelected = true; foreach (Transform child in transform) { if (child.gameObject.name != "StateBillBoard") { child.renderer.material.shader = Shader.Find("Self-Illumin/Outlined Diffuse"); } } }
void UpdateStateText() { statsText = "Str: " + (strengthIsVisible ? strengthLevel.ToString() : "?") + "/ Sus: " + (suspicionIsVisible ? suspicionLevel.ToString() : "?") + "/ Cha: " + (charismaIsVisible ? charismaLevel.ToString() : "?"); stateDisplay.UpdateState(humanState.ToString() + " | " + statsText); }