原创 index.html和ts交互

(一)ts 傳值給html   ts調用html裏的方法 index.html <script type="text/javascript"> function Read(url){ console.log("這是html裏",u

原创 Unity調用獲取手機圖片和下載圖片功能 NativeGallery插件使用

介紹一個特別使用的插件:NativeGallery 百度雲下載地址:鏈接:https://pan.baidu.com/s/1j7VilQ8dUSNdEwqwrI__OQ  提取碼:uefe  github下載地址:https://gith

原创 Unity數據讀取一 讀取Excel數據

下載需要的庫: 鏈接:https://pan.baidu.com/s/1HWgb3zAVomW22zoy6bC07g  提取碼:49ev //包含的需要的庫 案例的excel表 和整體的工程文件包 下載解壓放到Plugins文件夾下 /

原创 Unity數據讀取二 讀取json數據

導入Json的引用文件:LitJson 鏈接:https://pan.baidu.com/s/1L60zADN6PTrue4hwTvCwCA  提取碼:thhf 庫放到Plugins文件夾下 創建json文件 json文件一起放到百度雲

原创 Unity 編輯器拓展動態下拉列表

 //表現 //編輯器擴展腳本放到Editor下 using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEn

原创 Dotween 文本對話

遊戲中有對話情節,需求是:遊戲暫停 界面所有UI隱藏  npc與玩家對話 這裏複製上項目的涉及到此功能的一小段代碼。 private List<string> content;//對話內容 private int tem

原创 管理系統開發三: winforml錄入界面

1.打開sql server  添加數據庫 2.打開VS  創建錄入界面 3  3.打開VS  添加新建方法 儲存實體類 using System; using System.Collections.Generic; using Sy