参考:https://gameinstitute.qq.com/community/detail/121092
按照上方链接的教程中的第一个方法制作了小地图。
主要思路就是利用了Render Texture这一个特殊的Texture类型,
可以通过把目标Render Texture挂在小地图相机属性里Target Texture上
之后该相机的渲染都会传递显示到该Texture上,
只要再把这个target texture装载到需要显示的UI上的Raw Image组件上就可以实现该UI实时更新小地图相机渲染的内容了
至于Render Texture的原理是什么,暂时不太明白