コード例 #1
0
    private bool Import()
    {
        string filename = EditorUtility.OpenFilePanel("Import Input Configuration", null, "xml");

        if (filename.Length != 0)
        {
            return(inputConfig.Import(filename));
        }
        else
        {
            return(false);
        }
    }