原创 敢創業但不敢上臺演講?

上臺前讀了一下,上臺後沒有非常緊張,但是很激動。。。回頭想了一下,發現好像自己在自言自語,低着頭(很少擡頭),講自己想講的(並不是讀,ppt只是簡單的圖和標題)。。。真是不懂這種奇怪的心理 原文鏈接:http://buzzorange.c

原创 unity官方demo學習之Stealth(十四)鑰匙卡設定

1,爲玩家添加Done Player Inventory腳本 public class DonePlayerInventory : MonoBehaviour { public bool hasKey; // Whether or

原创 unity官方demo學習之Stealth(五)遊戲控制器

五,遊戲控制器  主要:記錄主角最後出現的位置 1,創建空對象,命名爲gameController,設置tag,gameController,將audio中的music_normal拖入音頻剪輯中(這是正常遊戲音樂背景),勾選paly  

原创 unity官方demo學習之Stealth(三)標籤管理

tag常用於獲取引用的object或其包含的組件 創建一個腳本DoneTags用於定義tag常量(已在DoneScripts下UnappliedScript裏),方便以後使用 using UnityEngine; using Syste

原创 unity官方demo學習之Stealth(十一)角色移動

十一,角色移動 爲char_ethan添加腳本DonePlayerMovement using UnityEngine; using System.Collections; public class DonePlayerMovement

原创 unity官方demo學習之Stealth(十二)角色生命值

1,爲玩家添加腳本DonePlayerHealth using UnityEngine; using System.Collections; public class DonePlayerHealth : MonoBehaviour {

原创 unity官方demo學習之Stealth(七)激光門

七,激光門 1,將models中的fx_laserFence_lasers拖到層級視圖中,設置如圖009,並且方便管理編號_001 2,爲其添加box collider組件,勾選 is trigger 3,爲其添加音頻組件,將laser

原创 unity官方demo學習之Stealth(八)角色初步設定

1,將modles中的char_ethan拖到層級視圖,x:-2.5,tag:player,選中下面4個子對象,都勾選use light probes 2,edit->project settings->input,這裏是控制玩家動作的

原创 unity官方demo學習之Stealth(二)警報燈設定

爲light_alarm_directional添加腳本DoneAlarmLight //AlarmLight.cs using UnityEngine; using System.Collections; public class

原创 unity官方demo學習之Stealth(六)CCTV監控攝像機

六, CCTV監控攝像機 1,創建攝像頭,將model中的prop_CCTVCam拖到層級視圖,調整座標-8,3,16.1,角度Y180.此時正好在bus上,勾選use Light Probes(3個都要勾選,別忘了),這樣纔會有動態的燈

原创 unity官方demo學習之Stealth(四)屏幕漸變效果

1,創建個對象命名爲screenFader,x:0.5,y:0.5,添加組件Rendering->GUI Texture,將Texture文件夾中的

原创 unity官方教程space shooter 學習文檔

如題,在學習unity的過程中,發現可惡的只能在線看視頻,網速嚴重受限的我感覺很是煩惱,快進一下,誒,不動了,過了一會兒。。。黑屏,就能看到刷新的字樣 千辛萬苦找到可以下載的視頻,打開一看,字幕是英文的。。。英文的。。。英文的(爲什麼說

原创 unity官方demo學習之Stealth(十六)雙層門

1,外層門,將modles中的door_generic_slide拖進去,位置:-22,0,46,角度:y,270 2,選中雙層門的兩個子對象,勾選Use Light Probes,使動態光照在門上 3,選中父對象,添加Sphere

原创 unity官方demo學習之Stealth(九)角色動畫控制器

1,(創建玩家靜止狀態)在Animator文件夾中 右鍵,create->Animator Controller,創建一個動畫控制器,命名爲PlayerAnimator,創建參數,float:Speed;bool:Snesking;boo

原创 unity官方demo學習之Stealth(十三)攝像機跟蹤

1,調整視角爲遊戲開始我們想要的視角,選擇攝像機camera_main,選擇GameObject->align with view,使攝像機在遊戲開始放在我們想要的視角 2,爲攝像機添加腳本DoneCameraMovement using