File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,18 +32,18 @@ public class Build
3232 #region Build Options
3333 public static bool IsBuilding
3434 {
35- get { return EditorPrefs . GetInt ( "IsBuilding" ) != 0 ; }
36- set { EditorPrefs . SetInt ( "IsBuilding" , value ? 1 : 0 ) ; }
35+ get { return EditorPrefs . GetInt ( Application . productName + "IsBuilding" ) != 0 ; }
36+ set { EditorPrefs . SetInt ( Application . productName + "IsBuilding" , value ? 1 : 0 ) ; }
3737 }
3838 public static BuildTarget BuildTarget
3939 {
40- get { return ( BuildTarget ) EditorPrefs . GetInt ( "BuildTarget" ) ; }
41- set { EditorPrefs . SetInt ( "BuildTarget" , ( int ) value ) ; }
40+ get { return ( BuildTarget ) EditorPrefs . GetInt ( Application . productName + "BuildTarget" ) ; }
41+ set { EditorPrefs . SetInt ( Application . productName + "BuildTarget" , ( int ) value ) ; }
4242 }
4343 public static BuildOptions BuildOptions
4444 {
45- get { return ( BuildOptions ) EditorPrefs . GetInt ( "BuildOptions" ) ; }
46- set { EditorPrefs . SetInt ( "BuildOptions" , ( int ) value ) ; }
45+ get { return ( BuildOptions ) EditorPrefs . GetInt ( Application . productName + "BuildOptions" ) ; }
46+ set { EditorPrefs . SetInt ( Application . productName + "BuildOptions" , ( int ) value ) ; }
4747 }
4848 #endregion
4949
You can’t perform that action at this time.
0 commit comments