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