private void Awake()
 {
     pathProcess = GetComponent <PathProcess>();
     grid        = GetComponent <MyGrid>();
 }
 public void StartPathFind()
 {
     PathProcess.PathProcessing(transform.position, target.position, OnPathFound);
     //Debug.Log("Drive.cs:" + transform.position + "  " + target.position);
 }
 private void Awake()
 {
     instance     = this;
     aStarFinding = GetComponent <AStarFinding>();
 }