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

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