示例#1
0
    public void Reverse()
    {
        direction      *= -1;
        cPointsProgress = 1 - cPointsProgress;
        Transform swapTempT = currCPointT;

        currCPointT          = nextCPointT;
        currCPointController = nextCPointController.GetComponent <CPointController>();
        nextCPointT          = swapTempT;
        nextCPointController = nextCPointT.GetComponent <CPointController>();
    }