Esempio n. 1
0
    void Start()
    {
        var currentPopPos = _checkpointManager.GetCurrentPoint();

        currentPopPos = currentPopPos ?? _initPopPos;

        this.transform.position    = currentPopPos.position;
        this.transform.eulerAngles = currentPopPos.eulerAngles;
    }