We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 330a35a commit a2a08e3Copy full SHA for a2a08e3
General/Advertising.cs
@@ -1,5 +1,7 @@
1
+using System;
2
using System.Collections;
3
using UnityEngine;
4
+using VirtueSky.EditorUtils;
5
using VirtueSky.Events;
6
7
namespace VirtueSky.Ads
@@ -92,5 +94,12 @@ private void OnApplicationPause(bool pauseStatus)
92
94
if (!pauseStatus) (currentAdClient as MaxAdClient)?.ShowAppOpen();
93
95
}
96
#endif
97
+
98
+#if UNITY_EDITOR
99
+ private void Reset()
100
+ {
101
+ adSetting = ScriptableSetting.CreateAndGetScriptableAsset<VirtueSky.Ads.AdSetting>("/Ads");
102
+ }
103
+#endif
104
105
0 commit comments