Unity 屏幕中心,方向指示

1.新建一個朝上的UI  Rotation爲(0,0,0)spa 2.腳本掛在1中的UI上,Target設置爲要追蹤的物體,self設置爲攝像機。(當攝像機移動時,UI會指向Target)調試 using System.Collections; using System.Collections.Generic; using UnityEngine;orm public class Directio
相關文章
相關標籤/搜索