Beispiel #1
0
    void artifactLockNetworked(int x, int z)
    {
        //Lock the artifact wall.
        WallScript artifactWallScript = WallArray[x][z].GetComponent <WallScript>();

        artifactWallScript.setLockState(true);
        artifactWallScript.setLockedStateFIX();         // dont mind me, just a dumb bug
    }