Unity中LayerMask層的規律

using UnityEngine; using System.Collections; public class Layer : MonoBehaviour { public int layerMask=0; //定義一個int類型的變量,用來存儲碰撞的層 void Start () { } void Update () { //從
相關文章
相關標籤/搜索