首页
lounger
累计撰写
23
篇文章
累计创建
8
个标签
累计收到
0
条评论
栏目
目 录
CONTENT
游戏开发-lounger
以下是
游戏开发
相关的文章
2024-08-04
unity打包报错:NotSupportedException
unity打包报错: NotSupportedException: Encoding 936 data could not be found NotSupportedException: Encoding 437 data could not be found 解决办法 一、重新打包 在新版的Uni
2024-08-04
1
0
0
游戏开发
2024-08-04
Unity销毁子物体
1.通过广播消息销毁 子物体 public void DestroyMySelf() { Destroy(gameobject); } 父物体发送广播 parentObj.BroadcastMassage("DestroyMySelf"); 2.遍历删除 public GameO
2024-08-04
1
0
0
游戏开发
2024-08-04
Unity扩展-继承GUI组件Button
Unity扩展-继承GUI组件Button 创建脚本MyButton继承Button public class MyButton : Button { [SerializeField] public AudioClip clickAudio; public override void On
2024-08-04
0
0
0
游戏开发
2024-08-04
Unity 固定启动场景
Unity 固定启动场景 unity播放模式默认从当前打开的场景开始,不能自定义设置开始场景,实际开发中可能有多个场景,每次播放都要找到并打开开始场景会很麻烦,所以需要固定启动场景。 方法一、使用编辑器插件 [MenuItem("BuildTools/PlayModeUseStartScen
2024-08-04
0
0
0
游戏开发
2024-08-04
Unity中引用其他类库程序集
Unity2019.4 Unity官方文档 微软官方文档 其他开发者的博客 不要总对人掏心掏肺,有的人不吃内脏
2024-08-04
1
0
0
游戏开发
2024-08-04
使用UnityEvent在属性面板绑定事件
使用UnityEvent在属性面板绑定事件 public UnityEvent myEvent; private void OnDestroy() { if (myEvent.GetPersistentEventCount() > 0) { myEvent.Invoke()
2024-08-04
0
0
0
游戏开发