Esempio n. 1
0
    public void Reset()
    {
        _motorBike.Reset();

        _motorBike.transform.position = bikePosition;

        Quaternion rotation = new Quaternion();

        rotation.eulerAngles          = bikeRotation;
        _motorBike.transform.rotation = rotation;

        _terrain2DPooler.ResetTerrains();
    }