原创 C#泛型單例

1.不支持非公共的無參構造函數的 using System; using UnityEngine; public abstract class Singleton<T> where T : class, new() { priv

原创 Unity資產,特殊文件夾以及重要路徑

轉載:https://blog.csdn.net/u012138730/article/details/81143413#4.Temp Unity資產,特殊文件夾以及重要路徑 原創ivy_0709 最後發佈於2018-07-26

原创 python關於類庫(轉載)

Python常用第三方庫 可以在  The Python Package Index (PyPI)  軟件庫(官網主頁:https://pypi.org/  )查詢、下載 和 發佈 Python包或庫。 網絡爬蟲 requests

原创 unity spine 動畫

using System.Collections; using System.Collections.Generic; using UnityEngine; using Spine; using Spine.Unity; publ

原创 pip errno11004

解決python 在使用pip命令安裝時的errno 11004錯誤 dos pip install *** 報錯如下: WARNING: Retrying (Retry(total=0, connect=None, read=

原创 Unity面板屬性特殊字

http://blog.sina.com.cn/s/blog_704aa6b60102x39v.html 友軍連接

原创 unity面板屬性

利用unity3d屬性來設置Inspector面板的特殊行爲 此博文包含圖片 (2017-08-08 10:16:34)轉載▼ 標籤: unity 使用 Unity 的C#語言 ,利用屬性(Attribute)來類定義和變量定義或

原创 VR中位置限制

using System.Collections; using System.Collections.Generic; using UnityEngine; public class DescendTheWell : MonoBeha

原创 機械關節插件

https://lab.uwa4d.com/lab/5b4428d9d7f10a201faf6295

原创 VR開發UI設置

VR開發時,之前單純採用世界座標系下UI放在VR中Camera (eye)下,發現位置關係很難控制,容易和替他物體遮擋。 後發現,在 [CameraRig]下添加單獨相機渲染UI可解決問題。 1、拖入的目標VR預製體 2、添加專屬U

原创 第一人稱相機視角控制

1、目錄結構 2、Player添加第三人稱控制組件 character controller 3、腳本如下 using UnityEngine; using System.Collections; using System; usi

原创 unity 實現相機圍繞物體旋轉、拉進、跟隨(通過構建camera目錄結構實現)

unity 實現相機圍繞物體旋轉、拉進、跟隨 通過構建camera目錄結構實現 這裏寫代碼片 using System.Collections; using System.Collections.Generic; using Un

原创 unity 相機圍繞物體旋轉,拉近(純腳本控制)

unity 相機圍繞物體旋轉,拉近(純腳本控制) 這裏寫代碼片 using System.Collections; using System.Collections.Generic; using UnityEngine; public