Ejemplo n.º 1
0
 public void OnGet(Transform parent = null)
 {
     _Data = new DroneData(this);
     SimManager.AllDrones.Add(_Data.UID, this);
     Trail.enabled = true;
     transform.SetParent(parent);
     gameObject.SetActive(true);
     JobManager.AddToQueue(this);
     InPool = false;
     StartCoroutine(PollRoute());
 }