Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20161018][1930][Unity 讀書會][Chris Lin]AI 與 FSM 經驗領域分享 #15

Open
Starfine opened this issue Oct 14, 2016 · 1 comment

Comments

@Starfine
Copy link
Contributor

No description provided.

@Starfine
Copy link
Contributor Author

Starfine commented Dec 9, 2016

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;
	}

21:15:52 Chase : OK
21:17:00 Tiger Guo : 感謝
21:40:29 Sean : 謝謝
21:40:30 RogerChang : 感謝
21:40:31 Chase : 謝謝 :D
21:40:34 marcia : 謝謝
21:40:35 Uchihaitachi : 感謝
21:40:37 [email protected] : 感謝
21:40:45 L_A_1016 : 受益良多 感謝吸溼大大
21:40:50 敬翔 陳 : Thank you!! ><
21:40:50 Sean : 非常博大精深..
21:41:24 polo chi : 今天的簽到簿
21:41:25 polo chi : https://www.facebook.com/groups/1606498833013546/
21:41:26 L_A_1016 : 大大等等結束趕快去喝杯溫開水
21:42:42 RogerChang : %%%%%%%%%%%%%%%
21:42:46 Tan BSK : 辛苦了QQ 厲害!
21:42:49 L_A_1016 : %%%%%%%%%%
21:42:50 Uchihaitachi : %%%%%%%%%%%%%
21:42:57 yang : 3Q
21:44:07 阿倫 : 居然多角化發展成這樣了
21:44:11 阿倫 : 威武
21:44:17 Tan BSK : 3q!
21:44:20 L_A_1016 : 謝謝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant