我用在了事件注册上面,再也不用一个一个去写了 下面直接上代码 using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using UnityEngine; public class Main : MonoBehaviour { // Use this for initialization void Start () { Type t = GetType()…
Reflections 反射 Reflection Source 反射源 By default, objects in a scene are rendered using Unity’s ‘Standard Shader’. The Standard Shader is a 'physically based shader' (PBS). This attempts to accurately represent the behavior of light on materials by…