public override void OnDrawGizmosSelected() { Team t = MatchSystem.instance?.FindTeam(Team); if (t != null) { Gizmos.SetMatrix(transform.world); Gizmos.SetColor(t.Color * 0.5f); Gizmos.DrawBoundingBox(Vector3.Zero, new Vector3(0.5f, 0.5f, 0.5f)); } }