shuoming = "请通过点击按钮,选择合适的人物形象。";
GUI.Box(new Rect(140, 40, 300, 265), "请选择合适的人物形象");
GUI.Box(new Rect(150, 70, 280,100), "");
GUI.Label(new Rect(160, 70, 280,100),"男士");
GUI.Box(new Rect(150, 180, 280, 100), "");
GUI.Label(new Rect(160, 180, 280, 100),"女士");
if(GUI.Button(new Rect(200,125,80,30),"男士正装"))
{
ManCutover.ManSize = 1;
}
if(GUI.Button(new Rect(340,125,80,30),"男士休闲"))
{
ManCutover.ManSize = 2;
}
if(GUI.Button(new Rect(200,230,80,30),"女士正装"))
{
ManCutover.ManSize = 3;
}
if(GUI.Button(new Rect(340,230,80,30),"女士休闲"))
{
ManCutover.ManSize = 4;
}
GUI.Label(new Rect(160,100,64,64),FuZhuangManTrue);
GUI.Label(new Rect(160,210,64,64), FuZhuangWomanTrue);
GUI.Label(new Rect(300,100,64,64), FuZhuangManFalse);
GUI.Label(new Rect(300,210,64,64), FuZhuangWomanFalse);
}
if (GUI.Button(new Rect(50, 65, 65, 30), "公文包"))
{
isShowBriefcase = !isShowBriefcase;
isFuZhuang =false;
}毕业论文
http://www.751com.cn/ if (isShowBriefcase)
{
shuoming = "您可以根据情况选择携带手机,备用简历等物品进入面试场地。";
GUI.Box(new Rect(140, 40, 200, 100), "选择公文包内物品");
GUI.Label(new Rect(280,70,32,32),Phone);
GUI.Label(new Rect(280,100,32,32), JianLi);
Interviewer.isTurnOffCellphone = GUI.Toggle(new Rect(150, 70, 150, 30), Interviewer.isTurnOffCellphone, "关闭手机");
Interviewer.isBringResume = GUI.Toggle(new Rect(150, 105, 150,30), Interviewer.isBringResume, "携带备用简历");原文请+QQ3249.114辣'文^论"文'网
}
if (GUI.Button(new Rect(10,110,105,30),"确认形象"))
{
CommnValues.CharacterIndex = Interviewer.CurrentCharacterIndex;
CommnValues.CharacterListIndex = Interviewer.CurrentListIndex;
CommnValues.IsBringResume = Interviewer.isBringResume;
CommnValues.IsTurnOffCellphone = Interviewer.isTurnOffCellphone;
Application.LoadLevel(2);
}
GUI.Box(new Rect(Screen.width/2-255, Screen.height - 60, 502, 55), "");
GUI.Label(new Rect(Screen.width/2-250, Screen.height - 60,500, 50), shuoming);
}
5.3 面试场景
此处为面试场景,人物对象为换装系统中已选好的人物角色。换装系统的人物属性,手机,简历等,都会在此场景中继承。
void Awake() //游戏第一次激活
{
foreach (GameObject item in ManList) //为每一个 ManList 创建游戏对象 item
{
if (item) //如果 item存在
{
item.SetActiveRecursively(false); //隐藏 item
}
}
foreach (GameObject item in WomanList)//为每一个 WomanList 创建游戏对象 item
{
if (item)//如果 item存在
上一页 [1] [2] [3] [4] [5] [6] [7] 下一页
基于Unity3d的Virtual Reality互动应用面试培训系统 第6页下载如图片无法显示或论文不完整,请联系qq752018766