public int[] GetArrayOfObjects() { int[] array = new int[_itemOffsets.Count]; if (_itemOffsets != null) { array = _itemOffsets.ToArray(); } return array; }
public void BSVertEditor_Update(string ofd) { BattleStage bs = new BattleStage(ofd); listBox1.Items.Clear(); bs.Process(false, true); BS_UpdateObjects(bs.GetArrayOfObjects(), ofd); Render3D(); }