コード例 #1
0
    // Sets whether or not we should allow walls to be movable
    public void SetEditor(bool edit)
    {
        WallScript tempScript = null;

        for (int counter = 0; counter < walls.Count; counter++)
        {
            tempScript = walls[counter].GetComponent <WallScript>();
            tempScript.SetEditor(edit);
        }
    }