Before running the conversion tool:
Backup your project
Keep in mind that you'll have best results (i.e, a smoother conversion process) if your Unitysc ripts have #pragma strictapplied to them.
Launch Unity editor (preferably, 5.6x) and make sure you allow APIUpdater to run and update any obsolete API usages. This is necessary to avoid compilation errors during the conversion.
Next step is to run the application (Unitysc ript2CSharp.exe) passing the path to the project (-p) the Unity root installation folder (-u) and any additional assembly references (-r) used by the Unitysc ript sc ripts.
Example:
Unitysc ript2CSharp.exe -p m:\Work\Repo\4-0_AngryBots -u M:\Work\Repo\unity\build -r "m:\AngryBot Assemblies\Assembly-CSharp.dll" "m:\AngryBot Assemblies\Assembly-Unitysc ript.dll" -s UNITY_ANDROID,UNITY_EDITOR
需要5金币 或 50 积分 ( 如何获取金币与积分)
免责声明:
【1】资源来自网络,仅限于个人学习研究,请勿用于任何商业用途,请支持或购买正版,尊重版权,请严格遵守国家相关著作版权保护的法律和规则,素材下载所需金币仅为素材收集整理的辛苦费用,并不代表素材本身价值,版权归原作者或其公司所有,请下载24小时内务必删除,否则后果自负,本站不承担任何责任及连带责任!