UE4鎻掍欢

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了UE4鎻掍欢相关的知识,希望对你有一定的参考价值。

    鏍囩锛?/p>

    缈昏瘧鐨勬湁鐐圭儌锛屾湁閿欒鐨勫湴鏂规杩庡ぇ瀹舵寚鍑猴紝鍘熸枃璇锋煡鐪婾E4瀹樻柟鎻掍欢鏂囨。

    杩欑瘒鏂囩珷璁茶堪浜嗗浣曚娇鐢║E tools 鍜宺untime寮€鍙戣嚜宸辩殑鎻掍欢銆?/p>

    璁稿UE瀛愮郴缁熼兘鏄彲鎵╁睍鐨勶紝鍏佽浣犳坊鍔犳柊鐨勫姛鑳斤紝淇敼鍐呯疆鐨勫姛鑳借€屼笉闇€瑕佷慨鏀瑰紩鎿庝唬鐮併€備綘鍙互娣诲姞鏂扮殑鏂囦欢绫诲瀷锛屾坊鍔犳柊鐨勮彍鍗曢」鍜屽伐鍏锋爮鍛戒护鍒扮紪杈戝櫒涓紝鐢氳嚦娣诲姞鏂板姛鑳藉拰缂栬緫鍣ㄥ瓙妯″紡銆?/p>

    濡傛灉浣犵幇鍦ㄥ氨鎯宠瘯鐫€浣跨敤鎻掍欢锛屽彲浠ョ洿鎺ヨ鐪婸lugin Examples閮ㄥ垎

    Plugins Editor UI

    浣犲彲浠ュ湪Plugins缂栬緫鐣岄潰涓湅鍒板凡缁忓畨瑁呯殑鎻掍欢銆?
    鎶€鏈垎浜? src=

    鎻掍欢缂栬緫鍣ㄥ彲浠ヤ粠涓荤獥鍙h彍鍗曚腑璁块棶銆傛鐣岄潰鏄剧ず褰撳墠瀹夎鐨勬墍鏈夋彃浠讹紝骞跺厑璁告偍鍗曠嫭鍚敤鎴栫鐢ㄦ彃浠躲€?
    浣犲彲浠ヤ娇鐢ㄥ乏杈圭殑鐣岄潰娴忚鎻掍欢鐨勭洰褰曘€傞€夋嫨涓€涓洰褰曞皢鍦ㄥ彸杈规樉绀鸿鐩綍涓嬫墍鏈夌殑鎻掍欢浠ュ強鎵€鏈夊瓙鐩綍涓嬬殑鎻掍欢銆?
    鎶€鏈垎浜? src=
    涓诲垪琛ㄦ樉绀烘彃浠剁殑鍚嶇О鍥炬爣锛屽綋鍓嶇増鏈紝鎻忚堪鍙婁綔鑰咃紙鍜屽彲閫夌殑缃戦〉瓒呴摼鎺ワ級锛屼互鍙婅鎻掍欢鏄惁宸插惎鐢ㄣ€?/p>

    浣犲彲浠ュ湪浣犵殑椤圭洰涓惎鐢ㄦ垨绂佺敤鎻掍欢鐨勪娇鐢ㄣ€?/p>

    Anatomy of a Plugin锛堟彃浠跺墫鏋愶級

    甯︽湁浠g爜鐨勬彃浠舵湁涓€涓簮鏂囦欢澶广€傝鏂囦欢澶瑰皢鍖呭惈涓€涓垨澶氫釜婧愪唬鐮佹ā鍧楁簮浠g爜銆傛敞锛氭彃浠堕€氬父閮戒細鍖呭惈浠g爜锛屼絾涓嶆槸蹇呴』鐨勩€傛煡鐪嬫彃浠朵腑鐨勪唬鐮佸彲鑾峰緱鏇村淇℃伅銆?/p>

    瀵逛簬鏈夌潃浠g爜妯″潡鐨勬彃浠舵潵璇达紝杩欑被鎻掍欢鏈夌潃鑷繁鐨勪簩杩涘埗鏂囦欢澶癸紝鍏朵腑鍖呭惈璇ユ彃浠剁殑缂栬瘧浠g爜銆傛澶栵紝涓存椂鏋勫缓鐨勯」鐩枃浠跺皢琚瓨鍌ㄥ埌鎻掍欢鐩綍涓嬬殑涓€涓腑闂存枃浠跺す涓€?/p>

    鎻掍欢鍙互鎷ユ湁鑷繁鐨勫唴瀹规枃浠跺す锛屽叾涓寘鍚鎻掍欢鐗瑰畾鐨勮祫婧愭枃浠躲€傛煡鐪嬫彃浠堕儴鍒嗙殑Content浠ヤ簡瑙f洿澶氫俊鎭€?/p>

    娉細鎻掍欢涓嶆敮鎸侀厤缃枃浠躲€傝繖鏄垜浠鍦ㄨ€冭檻鍦ㄤ粖鍚庢坊鍔犵殑涓滆タ銆傚苟涓旀彃浠惰繕涓嶆敮鎸佽嚜宸辨淳鐢熸暟鎹紦瀛樺垎閰嶃€傝繖鏄垜浠璁″湪绋嶅悗娣诲姞鐨勪竴浜涗笢瑗裤€?/p>

    Plugin Folders

    鎻掍欢濮嬬粓浣嶄簬鎻掍欢鐩綍涓嬨€傚湪铏氬够寮曟搸涓鏋滆鎵惧埌杩欎簺鎻掍欢鐨勮瘽锛屽畠浠繀椤讳綅浜庝竴涓湁鏁堢殑鎼滅储璺緞涓€?/p>

    Plugin type Search path
    Engine plugin /UE4 root/Engine/Plugins/My Engine Plugin/
    Game plugin /My project/Plugins/My Game Plugin/

    浣犱篃鍙互璁叉彃浠舵斁鍏lugins鏂囦欢澶逛笅鐨勫瓙鐩綍涓€傚紩鎿庡皢浼氳嚜鍔ㄦ壂鎻忓苟鍔犺浇Plugins涓嬬殑鎵€鏈夊瓙鏂囦欢澶逛腑鐨勬彃浠讹紝浣嗗綋涓€涓洰褰曚腑鎵惧埌瀛樺湪鎻掍欢鍚庝究涓嶄細缁х画鎵弿璇ョ洰褰曠殑瀛愮洰褰曘€?/p>

    铏氬够寮曟搸閫氳繃鎼滅储 纾佺洏涓婄殑.uplugin鏂囦欢鑰屾壘鍒版彃浠躲€傚彲绉拌繖浜涙枃浠朵负鎻掍欢鎻忚堪绗︺€傚畠浠槸鏂囨湰鏂囦欢锛屾彁渚涘叧浜庢彃浠剁殑鍩烘湰淇℃伅銆傜▼搴忚繍琛屾椂锛屾彃浠舵弿杩扮灏嗚铏氬够寮曟搸鍙戠幇鍚庡皢琚嚜鍔ㄥ姞杞姐€傛煡鐪婸lugin descriptor閮ㄥ垎浠ヤ簡瑙e垱寤哄拰鑷畾涔夎繖浜涙枃浠躲€?/p>

    Code in Plugins

    鐢熸垚Visual Studio鎴朮Code鏂囦欢椤圭洰鏂囦欢鏃讹紝浠讳綍鏈夌潃婧愭枃浠跺す鐨勬彃浠讹紙*.Build.cs鏂囦欢锛夐兘灏嗚娣诲姞鍒伴」鐩枃浠朵腑浠ヤ娇寰楁洿瀹规槗鎵惧埌瀹冧滑鐨勬簮浠g爜銆傚綋缂栬瘧娓告垙椤圭洰鏃讹紝Unreal Build Tool灏嗚嚜鍔ㄧ紪璇戣繖浜涙彃浠躲€?/p>

    鎻掍欢鍙互鏈変换鎰忔暟閲忕殑妯″潡浠g爜鐩綍銆傚ぇ澶氭暟鎻掍欢鍙湁涓€涓ā鍧楋紝浣嗘槸鍙互鍒涘缓澶氫釜妯″潡锛屼緥濡傦紝濡傛灉鏈変竴浜涘姛鑳芥槸涓虹紪杈戝櫒璁捐鐨勶紝鍏朵粬閮ㄥ垎浠g爜鏄繍琛屾父鎴忔椂蹇呴』鐨勩€?/p>

    澶у鏁版儏鍐典笅锛屾彃浠剁殑婧愭枃浠舵牸寮忓拰鍏朵粬C++妯″潡鍦ㄨ櫄骞诲紩鎿庝腑鏄竴鏍风殑銆?/strong>

    鎻掍欢鍏佽鍦ㄦā鍧楁枃浠朵唬鐮佺敵鏄庢柊鐨刄Object绫诲瀷锛圲CLASS锛孶STRUCT绛夛級锛屾彃浠跺彲浠ュ湪妯″潡浠g爜鏂囦欢澶圭殑瀛愮洰褰曚腑鐨勫ご鏂囦欢閲屽0鏄庢柊鐨刄Object绫诲瀷銆傝櫄鎷熷紩鎿庢瀯寤虹郴缁熶細妫€娴嬭繖浜涙枃浠跺苟鐢熸垚鏀寔杩欎簺UObjects鐨勪唬鐮併€備綘闇€瑕侀伒寰湪C++妯″潡涓娇鐢║Objects鐨勯€氱敤瑙勫垯锛屼緥濡傚寘鍚敓鎴愮殑澶存枃浠朵互鍙婂湪妯″潡婧愭枃浠朵腑妯″潡鐨刧enerated.ini鏂囦欢銆?/p>

    鈥淧ublic鈥?婧愭枃浠剁殑澶存枃浠舵槸涓€涓笌鎻掍欢妯″潡鏈夌偣涓嶅悓鐨勪笢瑗裤€傚湪Public婧愭枃浠跺す涓ぇ澶氭暟鎻掍欢妯″潡閮芥病鏈夊湪澶存枃浠朵腑閮芥病鏈夊叕鍏辩殑涓氬姟鎺ュ彛锛屽洜涓哄畠浠案杩滀笉浼氬拰寮曟搸鎴栨父鎴忎唬鐮佹湁鐩存帴渚濊禆鍏崇郴锛堥潤鎬侀摼鎺ワ級銆傛墍浠ラ€氬父浣犵殑Public婧愭枃浠跺す閮芥槸绌虹殑銆備絾鏄繖鏉¤鍒欎篃鏈夊嚑涓緥澶栵細

    • 濡傛灉浣犵殑鎻掍欢鍖呭惈澶氫釜C++妯″潡锛屽苟涓斿湪Public鏂囦欢澶逛腑鐨勪唬鐮佽兘鍦ㄦ彃浠剁殑鍚勬ā鍧椾腑鍏变韩銆?/li>
    • 濡傛灉浣犳鍦ㄥ垱寤轰竴涓父鎴忔彃浠讹紙涓嶆槸寮曟搸鎻掍欢锛夛紝骞朵笖浣犳兂璁╂父鎴忎笌浣犵殑涓€涓彃浠舵ā鍧楅潤鎬侀摼鎺ャ€傝繖鎵撶牬浜嗕竴涓彃浠剁偣鐨勬蹇碉紝浣嗘槸鐢虫槑涓€涓柊鐨勬父鎴忕被鍙互缁ф壙鎴栫洿鎺ヤ娇鐢ㄧ殑UObject绫诲瀷瀵逛簬鎻掍欢鏉ヨ閫氬父鏄緢鏈夌敤鐨勩€傚紩鎿庢湰韬笉渚濊禆浜庤繖涓彃浠讹紝浣嗘父鎴忛」鐩唬鐮佸拰鍐呭寰堟湁鍙兘鏈夌洿鎺ョ殑渚濊禆鍏崇郴銆?/li>
    • 濡傛灉浣犳兂浣跨敤鎻掍欢鍙戝竷鍏叡鎺ュ彛澶达紙public interface headers锛夛紝浠ュ厑璁告父鎴忎唬鐮佹垨鍏朵粬鎻掍欢璁块棶鎻掍欢妯″潡涓疄鐜扮殑绫诲瀷銆傝繖鏄潪甯稿皯瑙佺殑锛屼竴鑸笉鎺ㄨ崘鍙敤杩欑鏂规硶锛屽洜涓烘垜浠洰鍓嶄笉鎵撶畻鏀寔涓€涓彃浠剁洿鎺ヤ緷璧栦簬鍙︿竴涓彃浠躲€?/li>

    Content in Plugins

    铏氬够寮曟搸鏀寔鍖呭惈Content鍙婁簩杩涘埗浠g爜鐨勬彃浠躲€傝繖椤瑰姛鑳戒粛鍦ㄥ畬鍠勪腑銆?/p>

    涓轰簡鍦ㄦ彃浠朵腑浣跨敤Content锛屾彃浠舵弿杩扮鐨凜anContainContent璁剧疆蹇呴』涓簍rue銆傛彃浠剁殑Content鏄竴涓粛鍦ㄥ畬鍠勪腑鐨勭壒鎬э紝鐩墠杩樹笉寤鸿浣跨敤銆傛洿澶氬叧浜庤繖鐐圭殑淇℃伅灏嗗湪鏃ュ悗鎻愪緵銆?/p>

    鎴戜滑鎵撶畻鏀寔鍏佽鍐呭琚寘鎷湪鍒嗗竷寮忕殑鎻掍欢涓€傛鍔熻兘灏氭湭瀹屽叏瀹炵幇锛屽洜姝や笉寤鸿浣跨敤瀹冦€?/p>

    Plugins in your Game Project

    鍦ㄦ父鎴忛」鐩洰褰曚笅锛屾彃浠跺瓨鍦ㄤ簬鍚嶄负鈥淧lugins鈥濈殑瀛愮洰褰曚笅锛屽苟鍦ㄥ惎鍔ㄧ殑鏃跺€欒娓告垙寮曟搸鍜岀紪杈戝櫒妫€娴嬪拰鍔犺浇銆?/p>

    濡傛灉鎻掍欢涓瓨鍦ㄥ寘鍚簮鏂囦欢澶癸紙浠ュ強*.Build.cs鏂囦欢锛夌殑妯″潡锛屾彃浠朵唬鐮佸皢琚嚜鍔ㄦ坊鍔犲埌鐢熸垚鐨凜++椤圭洰鏂囦欢涓紝杩欐牱鐨勮瘽灏卞彲浠ュ緢瀹规槗鐨勫湪寮€鍙戞父鎴忛」鐩殑鍚屾椂寮€鍙戞彃浠躲€傚綋缂栬瘧娓告垙椤圭洰鏃讹紝鎵€鏈夊瓨鍦⊿ource鐨勬彃浠堕兘璁茶缂栬瘧鎴愪竴绉嶆父鎴忕殑鍚堟垚渚濊禆锛坰ynthetic dependency锛夈€?/p>

    娌℃湁Source瀛愭枃浠跺す鐨勬彃浠跺皢琚」鐩敓鎴愬櫒蹇界暐锛屽苟涓斾笉浼氬嚭鐜板湪C++椤圭洰鏂囦欢涓紝浣嗗彧瑕佷簩杩涘埗鏂囦欢瀛樺湪渚夸細鍦ㄦ父鎴忓惎鍔ㄦ椂琚姞杞姐€?/p>

    Engine Plugins

    UE4鏈変竴浜涘唴缃殑鎻掍欢鍖呭惈鍦ㄥ紩鎿庣洰褰曚笅銆傚紩鎿庢彃浠跺氨鍍忎綘鍦ㄦ父鎴忎腑鎵€鎷ユ湁鐨勬彃浠讹紝 骞朵笖鍙互鐢ㄤ簬鎵€鏈夌殑娓告垙椤圭洰涓€傞€氬父鎯呭喌涓嬶紝杩欎簺鎻掍欢鏄湁寮曟搸鍜屽伐鍏风▼搴忓憳鎻愪緵涓€涓被浼兼彃浠剁殑鍩哄噯鍔熻兘銆備娇寰楃敤鎴峰彲浠ュ垹闄ゆ垨閲嶅啓鏁翠釜寮曟搸鍔熻兘鑰屼笉淇敼浠讳綍寮曟搸浠g爜銆?/p>

    榛樿鎯呭喌涓嬶紝寮曟搸鎻掍欢鐨勫姞杞藉湪鎵€鏈夋父鎴忔ā鍧楁垨娓告垙椤圭洰鍔犺浇涔嬪墠銆?/p>

    寮曟搸鎻掍欢鏈変竴涓壒鍒殑瑕佹眰锛氬紩鎿庝唬鐮佹ā鍧椾笉鑳藉闈欐€侀摼鎺ュ紩鎿庢彃浠舵ā鍧楀簱銆傚嵆锛屽紩鎿庢彃浠跺繀椤讳笌寮曟搸鏈韩鐙珛寮€锛屾彃浠舵ā鍧楁槸寮曟搸妯″潡鐨勨€滀緷璧栨ā鍧椻€濄€傝繖鏄竴绉嶆槑鏅虹殑閫夋嫨锛屽綋鎻掍欢涓嶅彲鐢ㄦ椂寮曟搸浠嶅彲缁х画宸ヤ綔銆?/p>

    Distributing a Plugin

    浠ヤ笅鏄彂甯冩彃浠舵墍闇€鐨勬楠ゃ€?/p>

    1. 缂栬緫鎻掍欢鎻忚堪绗︼紙.uplugin鏂囦欢锛夊苟纭繚鎻掍欢鍚嶇О銆佹ā鍧椼€傜増鏈拰閰嶇疆鎵€闇€鐨勫叾浠栬缃€?/li>
    2. 鍒犻櫎鎻掍欢鐨勪簩杩涘埗鏂囦欢鍜屼腑闂存枃浠跺す銆傜‘淇濅粠涓€涓共鍑€鐨剆late寮€濮嬨€?/li>
    3. 濡傛灉鎻掍欢鍖呭惈Source鏂囦欢澶癸紝缂栬瘧Win64 Development閰嶇疆鐗堟湰鐨勬彃浠朵簩杩涘埗鏂囦欢銆傝繖涓厤缃槸PC骞冲彴鍔犺浇鎻掍欢鎬绘槸闇€瑕佺殑銆?/li>
    4. 瀵逛簬鎻掍欢鐨凷ource锛屽鏋滀綘甯屾湜鏀寔棰濆鐨勯厤缃紝渚嬪Mac绯荤粺锛屾墍浠ュ簲璇ュ缓绔嬭繖浜涖€?/li>
    5. 灏嗘彃浠跺鍒跺埌宸ョ▼鐩綍澶栫殑涓€涓柊鐨勪复鏃舵枃浠跺す涓€傝繖涓嶆槸蹇呴』鐨勶紝浣嗕細鍦ㄨ繖涓复鏃舵枃浠跺す涓鎻掍欢杩涜淇敼銆?/li>
    6. 鍦ㄦ彃浠剁殑涓存椂鐩綍涓紝鍒犻櫎涓棿鐩綍銆傝繖浜涢兘鏄复鏃舵€х殑鐩綍锛屼笉搴旇琚垎鍙戙€?/li>
    7. 濡傛灉鎻掍欢鍖呭惈婧愭枃浠朵唬鐮侊紝浣嗕笉鎯冲彂甯冨畠锛屽湪鎻掍欢鐨勪复鏃舵枃浠跺す涓垹闄ource鏂囦欢澶瑰嵆鍙€?/li>
    8. 鍦ㄦ彃浠剁殑涓存椂鐩綍涓紝鍙互鍒犻櫎鎵€浠ヤ笉鎯冲彂甯冪殑鏂囦欢銆?/li>
    9. 鏈€鍚庯紝鎻掍欢灏卞彲浠ュ噯澶囧彂甯冧簡锛?/li>

    閲嶈绗旇锛?/p>

    • 鏆備笉鏀寔鍙戝竷鐨勬彃浠朵腑浠呭寘鍚玃ublic澶存枃浠躲€傛墍浠ヤ綘蹇呴』鍖呭惈鏁翠釜Source鐩綍鎴栬€呮病鏈変换浣昐ource鐩綍銆傛垜浠墦绠楀湪浠婂悗娣诲姞鍙戝竷Public婧愭枃浠讹紙浠ュ強*.build.cs鏂囦欢锛夌殑鏀寔銆?/li>
    • 鎴戜滑姝e湪璋冩煡杩欎釜杩囩▼鐨勮嚜鍔ㄥ寲宸ュ叿銆傛洿澶氱粏鑺傚皢鍦ㄧ◢鍚庡彂甯冦€?/li>
    • 瀵逛簬鎻掍欢鐨凜ontent锛屼綘鍙兘甯屾湜鐢熸垚娲剧敓鏁版嵁鍖呭惈浜庢彃浠朵腑锛屼互閬垮厤缁堢鐢ㄦ埛闇€瑕佸畠鐢熶骇鏂扮殑闇€姹傘€備絾姝ゅ姛鑳藉皻鏈彁渚涳紝浣嗗皢鍦ㄧ◢鍚庢坊鍔犮€傛暚璇峰叧娉ㄣ€?/li>

    Plugin Descriptor files

    鎻掍欢鎻忚堪绗︽槸浠?uplugin鎵╁睍鍚嶇粨灏剧殑鏂囦欢銆傛枃浠跺悕鐨勭涓€閮ㄥ垎鏄彃浠剁殑鍚嶅瓧銆傛彃浠舵弿杩版枃浠舵€绘槸浣嶄簬鎻掍欢鐩綍涓嬶紝寮曟搸浼氬湪鍚姩鏃跺彂鐜板畠浠€?/p>

    鎻掍欢鎻忚堪绗﹀湪JSON锛圝avaScript Object Notation锛夋枃浠舵牸寮?/p>

    Descriptor File Example

    姝ゅ疄渚嬫彃浠舵弿杩扮鏄粠UObjectPlugin涓嬭浇鐨勪緥瀛愩€?/p>

    { 
          "FileVersion" : 3, 
          "FriendlyName" : "UObject Example Plugin", 
          "Version" : 1, 
          "FriendlyVersion" : "1.0", 
          "EngineVersion" : 1579795, 
          "Description" : "An example of a plugin which declares its own UObject type. This can be used as a starting point when creating your own plugin.", 
          "Category" : "Programming Examples.Plugins", 
          "Modules" : [ { "Name" : "UObjectPlugin", "Type" : "Developer" } ]
    }

    Module Descriptors

    瀵逛簬鍖呭惈浠g爜鐨勬彃浠讹紝鎻忚堪绗︽枃浠跺皢鍖呭惈鑷冲皯涓€涓ā鍧楁弿杩扮銆?/p>

    { 
          "Name" : "UObjectPlugin", 
          "Type" : "Developer"
    }
    Field Info Description
    Name Required Unique name of this plugin module that will be loaded with the plugin. At runtime, the engine will expect appropriate plugin binaries to exist in the plugin鈥檚 Binaries folder with the module name as specified here. For modules that have a Source directory, a matching *.Build.cs file is expected to exist within the module鈥檚 subfolder tree.
    Type Required Sets the type of module. Valid options are Runtime, RuntimeNoCommandlet, Developer, Editor,EditorNoCommandlet, and Program. This type determines which types of applications this plugin鈥檚 module is suitable for loading in. For example, some plugins may include modules that are only designed to be loaded when the editor is running. Runtime modules will be loaded in all cases, even in shipped games. Developer modules will only be loaded in development runtime or editor builds, but never in shipping builds. Editor modules will only be loaded when the editor is starting up. Your plugin can use a combination of modules of different types.
    LoadingPhase Optional If specified, controls when the plugin is loaded at startup. This is an advanced option that should not normally be required. The valid options are Default (which is used when no LoadingPhase is specified),PreDefault, and PostConfigInit. PostConfigInit allows the module to be loaded before the engine has finished starting up key subsystems. PreDefault loads just before the normal phase. Typically, this is only needed if you expect game modules to depend directly on content within your plugin, or types declared within your plugin鈥檚 code.

    Icon Files

    闅忕潃鎻忚堪绗︽枃浠讹紝鎻掍欢閫氬父鏈変竴涓浘鏍囨枃浠讹紝鐢ㄤ簬鍦ㄧ紪杈戝櫒UI涓樉绀烘彃浠躲€?/p>

    File Name Info Format Description
    /Resources/Icon128.png Required 128x128 PNG file This icon represents this plugin in the editor UI. It will be displayed in the 鈥楶lugins鈥?user interface accessible from the main Window menu.

    Plugin Examples

    鎴戜滑宸茬粡鍒涘缓浜嗕竴浜涙病鏈変换浣曞姛鑳界殑瀹炰緥鎻掍欢銆傚彲浠ュ湪鍒涘缓鎻掍欢鏃朵綔涓虹┖澹充娇鐢ㄣ€傝繖浜涢兘鍖呭惈鍦ㄥ紩鎿庢簮浠g爜涓€?/p>

    Example Name Info
    BlankPlugin This plugin is an empty shell that shows the bare minimal files needed to setup a new code plugin module.
    UObjectPlugin A simple empty plugin that demonstrates how to declare your own UObject class.
    1. 澶嶅埗涓€涓疄渚嬫彃浠跺埌涓€涓柊鐨勬枃浠跺す涓紝閲嶅懡鍚嶇洰褰曘€佹枃浠跺拰浠g爜鍐呭浠ュ尮閰嶆柊鐨勬彃浠跺悕绉般€備笉鐒剁殑璇濅細涓庡唴缃殑鎻掍欢鍖呮嫭寮曟搸鍙戠敓鍐茬獊銆?/p>

    2. 鍦ㄦ父鎴忛」鐩洰褰曞垱寤轰竴涓€淧lugins鈥濇枃浠跺す锛岀劧鍚庡鍒舵彃浠剁殑鎵€鏈夊瓙鐩綍鍒扳€淧lugins鈥濈洰褰曚笅銆?
      鎶€鏈垎浜? src=

    3. Rebuild浣犵殑C++椤圭洰鏂囦欢銆傛彃浠舵ā鍧楀拰婧愪唬鐮佸皢鍑虹幇鍦ㄥ伐绋嬬洰褰曚笅鐨勪竴涓洰褰曚腑銆?/p>

    4. 閫氬父缂栬瘧娓告垙椤圭洰锛孶BT灏嗘娴嬪埌鎻掍欢锛屽苟灏嗗畠浠紪璇戜负娓告垙椤圭洰鐨勪緷璧栧叧绯伙紒

    5. 鍚姩缂栬緫鍣紙鎴栨父鎴忥級锛屼綘鐨勬彃浠跺皢琚鐢紝浣嗕綘鍙互鍦ㄧ紪杈戠晫闈腑鎵撳紑瀹冦€?/p>

    6. 鎵撳紑鎻掍欢缂栬緫鍣紙Windows 鈥?gt; Plugins锛夛紝鎼滅储浣犵殑鎻掍欢锛孍nable瀹?/p>

    7. 閲嶆柊鍚姩缂栬緫鍣ㄣ€備綘鐨勬彃浠跺皢鍦ㄥ惎鍔ㄦ椂鑷姩鍔犺浇銆?/p>

    鍦╓indow -> Developer宸ュ叿鑿滃崟涓嬩綘鍙互鐪嬪埌琚姞杞界殑鎻掍欢銆傚彟涓€涓柟寮忔槸浣跨敤浠g爜璋冭瘯鍣ㄥ湪鎻掍欢鍚姩浠g爜涓缃柇鐐癸紝渚嬪鍦‵BlankPlugin::StartupModule()涓缃柇鐐?




以上是关于UE4鎻掍欢的主要内容,如果未能解决你的问题,请参考以下文章

Apicloud鈥斺€擭VTabBarAnimation鎻掍欢

绠€璁?jQuery 鎻掍欢妯℃澘

logstash甯哥敤鎻掍欢瑙f瀽

jenkins 鏇存柊鎻掍欢浣跨敤浠g悊

fullPage鏁欑▼ -- 鏁村睆婊氬姩鏁堟灉鎻掍欢 fullpage璇﹁В

33 涓彁楂樺墠绔伐浣滄晥鐜囩殑 VSCode 瀹炵敤鎻掍欢