public static void CreateCommonAppSettings()
        {
            CommonAppSettings asset = ScriptableObject.CreateInstance <CommonAppSettings>();

            AssetDatabase.CreateAsset(asset, PathToAsset);
            AssetDatabase.SaveAssets();

            EditorUtility.FocusProjectWindow();

            Selection.activeObject = asset;
        }
Esempio n. 2
0
 public void SetCommonAppSettings(CommonAppSettings commonAppSettings)
 {
     this.commonAppSettings = commonAppSettings;
 }