pocosdk的接入

Unity3D 接入

PocoSDK supports Unity3D version 4 & 5 and above, ngui & ugui & fairygui, C# only for now.

  1. Clone source code from poco-sdk repo.

  2. 复制 Unity3D 文件夹到你的项目文件夹,一般在assets下.

    • If you are using ngui, just delete the sub folder Unity3D/ugui and Unity3D/fairygui and Unity3D/uguiWithTMPro.
    • If you are using ugui and TMPro plugin , just delete the sub folder Unity3D/ngui and Unity3D/fairygui and Unity3D/ugui.
    • If you are using ugui, just delete the sub folder Unity3D/ngui and Unity3D/fairygui and Unity3D/uguiWithTMPro.
    • If you are using fairygui, please refer fairygui guide
  3. Add Unity3D/PocoManager.cs as script component on any GameObject, generally on main camera.

目前使用的是ugui。删除重复文件Newtonsoft.Json.dll,注释ugui中颜色属性代码,随意创建个gameobject,挂载pocomanager脚本

posted @ 2024-03-28 15:16  古道枫杨  阅读(115)  评论(0)    收藏  举报