void Awake() { pathRequestManager = GetComponent <PathRequestManager> (); grid = GameObject.Find("A*").GetComponent <Grid> (); cM = GetComponent <createMesh> (); //planet = gameObject.transform; }
void Start() { cM = GetComponent <createMesh> (); grid = createMesh.grid; // StartCoroutine(checkCollision()); }