1. iOS构建报错
Exception: A required capability description is not set. UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess 原因:Player Settings中的iOS的location需要随便设个值
2. 2D场景中Physics.Raycast无法检测到物体
Physics.Raycast是从摄像机发出一道射线到场景,所以摄像机的层级(z轴)需要比被检测的物体“近”,也就是摄像机的Z轴要尽量小。