Exemplo n.º 1
0
 private void GrabItem(Throwable item)
 {
     carriedItem = item;
     carriedItem.SetKinematic(true);
     carriedItem.SetCarrier(this);
     carriedItem.ActivateRobotBeam(Instantiate <ParticleSystem> (robotBeamPrefab, carriedItem.transform.position, Quaternion.identity, carriedItem.transform));
     StartDelivering();
     SetupCarryRange();
     UpdateCarriedItem();
     SearchForTarget();
 }