91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

外籍軍團游戲界面開發(fā),幫助大家了解GUISkin

資源截圖

代碼片段和文件信息

using?UnityEngine;
using?System.Collections;

public?class?Voice?:?MonoBehaviour?{
????public?GUISkin?mySkin;//皮膚管理器???
????public?enum?Menu?{?start?=?1?option?help?quit?};//枚舉各個按鈕???
????public?bool?fullScreen_bool;//全屏選項???
????public?float?BGMslider_float;//背景音樂???
????public?float?SoundSlider_float;//音效音樂???

????public?Texture?tex;//背景圖片???
????public?Texture?tex_t;//點擊設(shè)置選項時擋在背景圖片前的黑色底板???
????public?Texture?tex_nandu;//點擊開始時難度選擇的底板???
????public?Texture[]?tex_help;//點擊幫助時的圖片???
????public?int?select_T?=?0;//標志菜單選擇項???

????public?Menu?start_t;
????public?Menu?option_t;
????public?Menu?help_t;
????public?Menu?quit_t;
????public?int?count;//標志幫助圖片當前的張數(shù)???
????public?bool?helpContinue;//幫助菜單是否點擊繼續(xù)按鈕???

//?Use?this?for?initialization
void?Start?()
????{
????????start_t?=?Menu.start;
????????option_t?=?Menu.option;
????????help_t?=?Menu.help;
????????quit_t?=?Menu.quit;
}

//?Update?is?called?once?per?frame
void?Update?()?{

}

void?OnGUI()
{
????????GUI.skin?=?mySkin;
????????
????????//toggle_bool?=?GUI.Toggle(new?Rect(100?80?39?38)?toggle_bool?““?“voice“);
????????//slider_float?=?GUI.HorizontalSlider(new?Rect(010029133)slider_float01“huadongtiao““huakuai“);
????????GUI.DrawTexture(new?Rect(0?0?Screen.width?Screen.height)?tex);
????????if?(select_T?==?0)
????????{
????????????//開始
????????????if(GUI.Button(new?Rect(402.0f?/?1024.0f?*?Screen.width?377.0f?/?768.0f?*?Screen.height?267?56)?““?“start“))
????????????{
????????????????select_T?=?1;
????????????}
????????????//設(shè)置
????????????if(GUI.Button(new?Rect(402.0f?/?1024.0f?*?Screen.width?459.0f?/?768.0f?*?Screen.height?267?56)“““option“))
????????????{
????????????????select_T?=?2;
????????????}
????????????//幫助
????????????if(GUI.Button(new?Rect(402.0f?/?1024.0f?*?Screen.width?550.0f?/?768.0f?*?Screen.height?267?56)“““help“))
????????????{
????????????????select_T?=?3;
????????????}
????????????//退出
????????????if?(GUI.Button(new?Rect(402.0f?/?1024.0f?*?Screen.width?638.0f?/?768.0f?*?Screen.height?267?56)?““?“quit“))
????????????{
????????????????select_T?=?4;
????????????}
????????}
????????if?(select_T?==?start_t.GetHashCode())
????????{
????????????GUI.DrawTexture(new?Rect((Screen.width?-?482)?/?2.0f?20.0f?/?768.0f?*?Screen.height?482?643)?tex_nandu);
????????????if?(GUI.Button(new?Rect((Screen.width?-?194)?/?2.0f?200.0f?/?768.0f?*?Screen.height?194?44)?““?“easy“))
????????????{

????????????}
????????????if?(GUI.Button(new?Rect((Screen.width?-?194)?/?2.0f?350.0f?/?768.0f?*?Screen.height?194?44)?““?“normal“))
????????????{

????????????}
????????????if?(GUI.Button(new?Rect((Screen.width?-?194)?/?2.0f?500.0f?/?768.0f?*?Screen.height?194?44)?““?“hard“))
????????????{

????????????}
????????????if?(GUI.Button(new?Rect((Screen.width?-?194)?/?2.0f?650.0f?/?768.0f?*?Screen.height?194?44)?““?“return“))
????????????{
????????????????select_T?=?0;
????????????}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????3442??2013-08-20?16:41??xuetong\Assembly-CSharp-vs.csproj

?????文件???????3314??2013-08-20?16:40??xuetong\Assembly-CSharp.csproj

?????文件???????7703??2013-08-13?10:19??xuetong\Assembly-CSharp.pidb

?????文件?????107252??2013-08-13?18:04??xuetong\Assets\GUISkin.guiskin

?????文件??????15364??2012-03-23?10:14??xuetong\Assets\MenuGUI\MenuGUI\.DS_Store

?????文件???????6148??2012-03-21?10:26??xuetong\Assets\MenuGUI\MenuGUI\ESC\.DS_Store

?????文件???????5352??2010-10-29?15:57??xuetong\Assets\MenuGUI\MenuGUI\ESC\Ajutor.png

?????文件???????4497??2010-11-04?11:34??xuetong\Assets\MenuGUI\MenuGUI\ESC\Ajutor2.png

?????文件???????6970??2010-10-29?15:57??xuetong\Assets\MenuGUI\MenuGUI\ESC\continua.png

?????文件???????6089??2010-11-04?11:33??xuetong\Assets\MenuGUI\MenuGUI\ESC\continua2.png

?????文件???????1516??2010-10-29?15:38??xuetong\Assets\MenuGUI\MenuGUI\ESC\heimu.png

?????文件???????6317??2010-10-29?15:58??xuetong\Assets\MenuGUI\MenuGUI\ESC\Optiuni.png

?????文件???????5266??2010-11-04?11:35??xuetong\Assets\MenuGUI\MenuGUI\ESC\Optiuni2.png

?????文件??????10730??2010-10-29?16:00??xuetong\Assets\MenuGUI\MenuGUI\ESC\Parasiti?jocul.png

?????文件???????9468??2010-11-04?11:36??xuetong\Assets\MenuGUI\MenuGUI\ESC\Parasiti?jocul2.png

?????文件??????12292??2012-03-21?10:27??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\.DS_Store

?????文件???????2532??2010-11-03?10:17??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\baotou.png

?????文件???????3819??2010-11-04?11:37??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\bujizhan.png

?????文件???????3730??2010-11-01?09:44??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\dabaohudi.PNG

?????文件???????2809??2010-11-10?18:01??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\fangzixueliang.png

?????文件???????1636??2010-10-29?16:25??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\jiantou.png

?????文件??????48047??2010-10-29?16:54??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\kaishikuangjia.png

?????文件?????111971??2010-11-12?09:49??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\lose.png

?????文件??????85750??2010-11-29?14:52??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\renwu.PNG

?????文件????????565??2010-10-29?14:55??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\shijian?.png

?????文件???????7564??2010-10-29?15:00??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\shouqiang.png

?????文件???????1321??2010-10-29?14:58??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\shouqiangzidan.png

?????文件??????32646??2010-11-04?10:09??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\suoluetu.PNG

?????文件????4477269??2010-11-03?10:26??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\waijijuntuan?kaishi.PSD

?????文件?????143559??2010-11-12?09:48??xuetong\Assets\MenuGUI\MenuGUI\GameGUI\win1.png

............此處省略578個文件信息

評論

共有 條評論