Пример #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();
    }
Пример #2
0
 public void ActivatePathPiece_InCurrentArea(BuiltPathPiece bppRef)
 {
     bppRef.ActivateFromPool();
 }