示例#1
0
        // Use this for initialization
        void Start()
        {
            map      = GameObject.FindObjectOfType <GMapStaticImage>();
            _mapMesh = map.gameObject.GetComponent <MeshCollider>();

            RefreshPosition();
        }
示例#2
0
 // Use this for initialization
 void Start () {
     map = GameObject.FindObjectOfType<GMapStaticImage>();
     _mapMesh = map.gameObject.GetComponent<MeshCollider>();
     
     RefreshPosition();
 }