void Awake() { if (entries == null) { entries = new List <LegendEntry>(); } if (viewCreator == null) { viewCreator = new ViewCreator(); } }