2019.3.9f1
parent
8e7a89eff7
commit
dda6cbd679
|
@ -169,21 +169,21 @@ Switch,
|
|||
SaveSettings(settings);
|
||||
}
|
||||
|
||||
[MenuItem("Test/Settings/BuildTarget/StandaloneLinux", validate = true, priority = 3)]
|
||||
static bool ValidateBuildTargetStandaloneLinux()
|
||||
{
|
||||
Menu.SetChecked("Test/Settings/BuildTarget/StandaloneLinux", LoadOrGetDefaultSettings().BuildTarget == BuildTarget.StandaloneLinux);
|
||||
return true;
|
||||
}
|
||||
//[MenuItem("Test/Settings/BuildTarget/StandaloneLinux", validate = true, priority = 3)]
|
||||
//static bool ValidateBuildTargetStandaloneLinux()
|
||||
//{
|
||||
// Menu.SetChecked("Test/Settings/BuildTarget/StandaloneLinux", LoadOrGetDefaultSettings().BuildTarget == BuildTarget.StandaloneLinux);
|
||||
// return true;
|
||||
//}
|
||||
|
||||
[MenuItem("Test/Settings/BuildTarget/StandaloneLinux", validate = false, priority = 3)]
|
||||
static void BuildTargetStandaloneLinux()
|
||||
{
|
||||
var settings = LoadOrGetDefaultSettings();
|
||||
settings.UseCurrentBuildTarget = false;
|
||||
settings.BuildTarget = BuildTarget.StandaloneLinux;
|
||||
SaveSettings(settings);
|
||||
}
|
||||
//[MenuItem("Test/Settings/BuildTarget/StandaloneLinux", validate = false, priority = 3)]
|
||||
//static void BuildTargetStandaloneLinux()
|
||||
//{
|
||||
// var settings = LoadOrGetDefaultSettings();
|
||||
// settings.UseCurrentBuildTarget = false;
|
||||
// settings.BuildTarget = BuildTarget.StandaloneLinux;
|
||||
// SaveSettings(settings);
|
||||
//}
|
||||
|
||||
[MenuItem("Test/Settings/BuildTarget/StandaloneLinux64", validate = true, priority = 4)]
|
||||
static bool ValidateBuildTargetStandaloneLinux64()
|
||||
|
|
|
@ -8,4 +8,7 @@ EditorBuildSettings:
|
|||
- enabled: 1
|
||||
path: Assets/Scenes/SandboxMain.unity
|
||||
guid: 2cda990e2423bbf4892e6590ba056729
|
||||
- enabled: 1
|
||||
path: Assets/Scenes/NextScene.unity
|
||||
guid: dfced9d8875377c44a1d53620d36f0d5
|
||||
m_configObjects: {}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
m_EditorVersion: 2019.3.0a2
|
||||
m_EditorVersionWithRevision: 2019.3.0a2 (fa7740529556)
|
||||
m_EditorVersion: 2019.3.9f1
|
||||
m_EditorVersionWithRevision: 2019.3.9f1 (e6e740a1c473)
|
||||
|
|
Loading…
Reference in New Issue