public void SetData(KAnimPackage pkg) { Debug.Assert(pkg.IsComplete); data = pkg; renderer.SetTexture(data.Texture); foreach (KAnimBank bank in data.Anim.Banks) { listBoxBanks.Items.Add(bank); } }