public Entity AddDictArray(System.Collections.Generic.Dictionary<int, string[]> newDict, System.Collections.Generic.Dictionary<int, string[]>[] newDictArray) { var component = new DictArrayComponent(); component.dict = newDict; component.dictArray = newDictArray; return AddDictArray(component); }
public Entity AddDictArray(System.Collections.Generic.Dictionary <int, string[]> newDict, System.Collections.Generic.Dictionary <int, string[]>[] newDictArray) { var component = new DictArrayComponent(); component.dict = newDict; component.dictArray = newDictArray; return(AddDictArray(component)); }
public Entity ReplaceDictArray(System.Collections.Generic.Dictionary<int, string[]> newDict, System.Collections.Generic.Dictionary<int, string[]>[] newDictArray) { DictArrayComponent component; if (hasDictArray) { WillRemoveComponent(ComponentIds.DictArray); component = dictArray; } else { component = new DictArrayComponent(); } component.dict = newDict; component.dictArray = newDictArray; return ReplaceComponent(ComponentIds.DictArray, component); }
public Entity ReplaceDictArray(System.Collections.Generic.Dictionary <int, string[]> newDict, System.Collections.Generic.Dictionary <int, string[]>[] newDictArray) { DictArrayComponent component; if (hasDictArray) { WillRemoveComponent(ComponentIds.DictArray); component = dictArray; } else { component = new DictArrayComponent(); } component.dict = newDict; component.dictArray = newDictArray; return(ReplaceComponent(ComponentIds.DictArray, component)); }
public Entity AddDictArray(DictArrayComponent component) { return(AddComponent(ComponentIds.DictArray, component)); }
public Entity AddDictArray(DictArrayComponent component) { return AddComponent(ComponentIds.DictArray, component); }