public void UpdateInspector(ConnectionGUI con, Dictionary <string, List <AssetReference> > assetGroups) { this.connectionGUI = con; this.assetGroups = assetGroups; if (groupViewContext == null) { groupViewContext = new GroupViewContext(); } }
public void UpdateInspector(ConnectionGUI con, Dictionary <string, List <AssetReference> > assetGroups) { this.connectionGUI = con; this.assetGroups = assetGroups; this.foldouts = new List <bool>(); if (assetGroups != null) { for (var i = 0; i < this.assetGroups.Count; i++) { foldouts.Add(true); } } }