2008-05-05から1日間の記事一覧

コンテンツパイプラインを使ったXML読み込み

XNA

■XMLファイルの作成 コンテンツディレクトリに「XMLtest.xml」を以下の内容で作成します。 AssetNmaeは今回は"XMLtest"にします。 <XnaContent xmlns:Generic="System.Collections.Generic"> <Asset Type="Generic:Dictionary[string,int]"> <Item> <Key>World01</Key> <Value>54</Value> </Item> <Item> <Key>World02</Key> </item></asset></xnacontent>