unity3d:单例模式,Mono场景唯一,不销毁;C# where T:new(),泛型约束;Lua单例模式,table ,self
摘要:
Mono单例 场景里挂载了,先找场景里有的DontDestroyOnLoad using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namesp 阅读全文
posted @ 2018-06-03 16:10 luoyikun 阅读(38) 评论(0) 推荐(0)
浙公网安备 33010602011771号