public void showAsActive() { // Turn red when active pc.GetComponentInChildren <Renderer>().material.color = new Color(255, 0, 0, 0.1f); }