摘要:
单例模式 代码 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Singleton<T> where T : new ()//泛型约束 必须有无参的构造函数 { / 阅读全文
posted @ 2022-04-16 21:23
lxp_blog
阅读(33)
评论(0)
推荐(0)
摘要:
打开Lighting面板 将天空盒改为别墅 图片转化为Cube 设置一个材质球 阅读全文
posted @ 2022-04-16 21:00
lxp_blog
阅读(158)
评论(0)
推荐(0)
摘要:
发射光源类型 光照参数介绍 让摄像头看到Flare 耀斑 改变影子 阅读全文
posted @ 2022-04-16 20:39
lxp_blog
阅读(36)
评论(0)
推荐(0)
摘要:
脚本控制移动 public float moveSpeed =5f; public float roundSpeed=120f; void Update() { this.transform.Translate(Input.GetAxis("Vertical")*Vector3.forward*mo 阅读全文
posted @ 2022-04-16 17:15
lxp_blog
阅读(179)
评论(0)
推荐(0)

浙公网安备 33010602011771号