Exemple #1
0
    public void ActivatePathPiece_InConnectedArea(PathedArea pArea, BuiltPathPiece bppRef, bool isLeft, bool isRight)
    {
        PathPoolGroup thisGroup = allPathedAreas.Find(x => x.thisPathedArea == pArea);

        if (isLeft)
        {
            thisGroup.pathFirstLeftPiece = bppRef;
        }
        else if (isRight)
        {
            thisGroup.pathFirstRightPiece = bppRef;
        }

        bppRef.ActivateFromPool();
    }
Exemple #2
0
 public void ActivatePathPiece_InCurrentArea(BuiltPathPiece bppRef)
 {
     bppRef.ActivateFromPool();
 }