You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
19:53:40 RogerChang : 齁甲
19:55:31 RogerChang : 有
20:06:00 bahf : 有
20:06:01 Tan BSK : 有~
20:06:01 RogerChang : 有
20:06:02 [email protected] : 有
20:06:04 Chase : U
20:06:14 Tan BSK : 贊同最後那句哈哈
20:09:41 Tan BSK : XD
20:10:49 Tan BSK : 沒有030
20:11:02 Sean : 有
20:11:03 Tan BSK : 我有看過 只是沒有經驗哈哈
20:11:28 Tiger Guo : 想死,香菇
20:11:32 [email protected] : 真的長
20:15:57 Tan BSK : 有
20:16:12 Tan BSK : 小精靈
20:24:59 [email protected] : 每個齒輪都有所有狀態嗎? 還是只有連線到的
20:41:07 Tiger Guo : 你可以偵測HP的變化,例如 追擊 或是逃離 或是二段變身
20:43:49 黃金賴打 : 這些都是要先寫好感測器功能
狀態機只要單純取得結果判斷就好
20:54:09 Tiger Guo : playmaker
20:54:17 polo chi : so-ga
20:56:39 Tiger Guo : 可以說明下 讀檔是怎麼實作嗎?我沒用過
21:11:24 RogerChang : 有點多 有提供code可以看嗎
21:14:16 Akira Chen :
public static T LoadXMLFileAdv(string filename) where T : class
{
TextAsset textAsset = (TextAsset)Resources.Load(filename);
return LoadXMLFile(textAsset);
}
private static T LoadXMLFile<T>(TextAsset textAsset) where T : class
{
MemoryStream assetStream = new MemoryStream(textAsset.bytes);
XmlSerializer serializer = new XmlSerializer(typeof(T));
T myData = (T)serializer.Deserialize(assetStream);
return myData;
}
No description provided.
The text was updated successfully, but these errors were encountered: