public void EmptyContext() { Users.RemoveRange(Users); Vehicles.RemoveRange(Vehicles); Inspections.RemoveRange(Inspections); Batchs.RemoveRange(Batchs); Zones.RemoveRange(Zones); DamageRegistrys.RemoveRange(DamageRegistrys); VehicleMovements.RemoveRange(VehicleMovements); BatchTransports.RemoveRange(BatchTransports); RouteZones.RemoveRange(RouteZones); }
private void Awake() { vehicleMovements = new VehicleMovements(this); neuralNetwork = new NeuralNetwork(); //timeCreation = Time.time; initPos = transform.position; InitRayCast(); }