這是我在知乎一個問題:html
《Unity遊戲開發有哪些讓你拍案叫絕的技巧?》app
下面的回答,以爲蠻有趣的,貼在這裏和博客的朋友們分享下。ide
-----翻譯
分享一個比較好玩的內容吧。調試
你們都知道Unity有一個職位叫作Evangelist,翻譯成中文就是佈道師。他們的任務是介紹Unity最新的功能,分享Unity的知識。那麼作一些演講天然就必不可少了。htm
包括其餘Team的同事,若是遇到了Unite這樣的大會,也要作一些演講。遊戲
那麼,準備一份Power Point,同時準備一個live demo就是屢見不鮮的事情了。可是Power Point和Unity之間來回切換,總以爲不太爽,並且你們都使用Power Point彷佛又有點無趣。遊戲開發
因此,國外的Evangelist Andy Touch以及Field Engineer Valentin Simonov他們就開發並開源了一個Unity Editor的拓展,即在Unity中播放「Power Point」——其實並非真的播放PPT——而是利用了Unity的UI系統構建了一套相似Power Point,適合作演講的工程。(這兩位也參加了今年的Unite Beijing)。開發
下面簡單演示一下:get
怎麼用呢?其實很簡單。一套「PPT」就是有不少Scene組成的。
Download the project.
Open Presentation Window from Window > Presentation menu.
Locate the sample Slide Deck in Presentation > Unity folder. It is called Unity Sample Presentation.
Select it and click Load This Slide Deck button in the Inspector.
Press [> B] button in the top right corner of the Presentation Window.
Use Left and Right arrows on your keyboard or [<<] and [>>] buttons in the top right corner of the Presentation Window to switch slides.
那麼,這樣除了逼格突出以外還有什麼好處呢?那就是能夠很方便的將Live Demo和「PPT」結合起來。
好比Unite Euro 2017上Valentin Simonov的演講,PPT和Live Demo渾然天成,還能夠很方便的直接調試Profiler。
不過Valentin在玩flappy bird的時候顯得很方,不知道是否是由於狗子的注視。
-EOF-
最後打個廣告,歡迎支持個人書