private void OnEnterPortal(int portalId, Drone d) { if (activated) { Debug.Log("Enter portal " + portalId); } }
private void OnExitPortal(int portalId, Drone d) { if (activated) { Debug.Log("Exit portal " + portalId); portals[portalId].cleared = true; } }