資源簡介
游戲截圖:
http://blog.csdn.net/niehanmin/article/details/79315707
unity《加納戰機》手機版游戲源碼,完整的模仿小霸王游戲《加納戰機》手機游戲源碼
用Unity3D編寫,包含聲音和圖片資源,很有實用價值!
C#腳本
代碼片段和文件信息
using?UnityEngine;
using?System.Collections;
using?UnityEngine.UI;
public?class?UIUtils?:?MonoBehaviour?{
????public?Gameobject?text_tip;
????public?Text?tip_text;
????private?int?timer?=?0;
????private?int?timerInterval?=?100;
????void?FixedUpdate()
????{
????????if?(timer?>?0?&&?timer?????????{
????????????timer++;
????????????if?(timer?==?timerInterval)
????????????{
????????????????hide();
????????????}
????????}
????}
????public?void?show(string?text?Vector3?pos)
????{
????????text_tip.SetActive(true);
????????text_tip.transform.position?=?pos;
????????tip_text.text?=?text;
????????timer?=?1;
????}
????private?void?hide()
????{
????????if?(text_tip?!=?null)
????????{
????????????text_tip.SetActive(false);
????????????timer?=?0;
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????9823??2015-08-17?23:14??unity《加納戰機》手游戲源碼\BeatPlane\Assembly-CSharp-firstpass-vs.csproj
?????文件???????9823??2015-08-17?23:14??unity《加納戰機》手游戲源碼\BeatPlane\Assembly-CSharp-firstpass.csproj
?????文件???????5987??2015-10-20?01:15??unity《加納戰機》手游戲源碼\BeatPlane\Assembly-CSharp-vs.csproj
?????文件???????5987??2015-10-20?01:15??unity《加納戰機》手游戲源碼\BeatPlane\Assembly-CSharp.csproj
?????文件???????3240??2015-07-12?16:27??unity《加納戰機》手游戲源碼\BeatPlane\Assembly-Unitysc
?????文件???????3240??2015-07-12?16:27??unity《加納戰機》手游戲源碼\BeatPlane\Assembly-Unitysc
?????文件???????6064??2015-07-22?22:01??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\38bOOOPICe3_1024_0.controller
????..A..H.????????95??2015-07-22?21:55??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\38bOOOPICe3_1024_0.controller.me
?????文件???????9116??2015-08-14?23:26??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\anima_01.anim
????..A..H.???????179??2015-08-14?23:23??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\anima_01.anim.me
?????文件???????6584??2015-07-26?15:22??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\bombs_0.controller
????..A..H.???????179??2015-07-26?15:22??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\bombs_0.controller.me
?????文件???????6064??2015-07-25?22:28??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\bombs_12.controller
????..A..H.????????95??2015-07-25?22:28??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\bombs_12.controller.me
?????文件???????6056??2015-07-22?23:42??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\bombs_25.controller
????..A..H.????????95??2015-07-22?23:38??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\bombs_25.controller.me
?????文件???????6576??2015-07-26?18:32??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\bombs_30.controller
????..A..H.???????179??2015-07-26?18:21??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\bombs_30.controller.me
?????文件??????12520??2015-07-08?23:37??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\Boom_01.anim
????..A..H.????????95??2015-07-08?22:13??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\Boom_01.anim.me
?????文件??????12540??2015-07-08?23:27??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\Boom_02.anim
????..A..H.????????95??2015-07-08?21:40??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\Boom_02.anim.me
?????文件??????12380??2015-07-22?22:11??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\Boom_03.anim
????..A..H.????????95??2015-07-22?21:55??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\Boom_03.anim.me
?????文件???????6608??2015-07-26?17:54??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\BossBullet_02.controller
????..A..H.???????179??2015-07-26?17:16??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\BossBullet_02.controller.me
?????文件???????6592??2015-07-26?17:54??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\BossBullet_03.controller
????..A..H.???????179??2015-07-26?17:16??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\BossBullet_03.controller.me
?????文件???????6744??2015-07-26?15:23??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\bullet_boss_01.controller
????..A..H.???????179??2015-07-26?15:22??unity《加納戰機》手游戲源碼\BeatPlane\Assets\Animations\bullet_boss_01.controller.me
............此處省略2966個文件信息
- 上一篇:C#實現簡單的音樂播放器只支持.wav格式文件
- 下一篇:深入淺出WPF(中文版)
評論
共有 條評論