Skip to content

Commit 0264c1d

Browse files
committed
[增加] 非移动平台的报错处理
1 parent 0d3fd1f commit 0264c1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Runtime/Advertisement/AdvertisementComponent.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ protected override void Awake()
7474
m_adUnitIdAndroid
7575
#elif UNITY_IOS
7676
m_adUnitIdiOS
77+
#else
78+
string.Empty
7779
#endif
7880
;
7981
}

0 commit comments

Comments
 (0)