Unity基礎知識篇

2021-08-21 02:36:38 字數 472 閱讀 1950

1. 程式集是什麼?

2. assembly-csharp.dll是什麼?

3. assembly-firstpass-csharp.dll是什麼?

4. unity有哪些特殊的目錄?

editor

在這裡可以存放一些編輯器擴充套件指令碼,這個目錄裡面的指令碼可以使用namespace unityeditor。對於rpg專案來說,經常有上百個怪物這種編輯需求,如果每乙個都要在編輯器裡面拖拖拉拉來建立prefab,那豈不是很累?可以寫乙個自動生成prefab的指令碼,在所有資源匯入之後,自動建立prefab供遊戲執行時呼叫。

plugins

這裡面就是放native外掛程式的,而引入的其他包不必要放在這裡。它應該為目標平台建立子目錄:"plugins/android"、"plugins/ios"等。

5. asmdef是什麼?

6. protected internal virtual 組合起來有什麼特性? 

Unity基礎知識

unity在2012年左右,才進入中國,在上海優美締,開發手遊比較多。為什麼unity打包成exe後,介面是unity?因為沒氪金!中文 官網 unity.cn 我們主要還是用lts 長期支援版 unity editor 64 bit windows的一些 android的面向元件 跨平台 全平台 ...

Python list 基礎知識篇

list用方括號表示,比如 list tiger cat dog 增加元素 下面看個例子 list length len suitcase set this to the length of suitcase print there are d items in the suitcase.list ...

JAVA基礎知識篇

順序結構 if a 2 1 symstem.our.printin a 是偶數 else symstem.our.printin a 是奇數 if a 2 1 elseif elseif else max a b a b 的意思是如果a大於b那麼把a賦值給max否則把b賦值給max min a選擇結...