Skip to content

Commit

Permalink
Fixed compilation error on non Android or iOS platform
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanMurzak committed Nov 29, 2021
1 parent 97fbb2d commit ad387bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ExportedObj/
*.mdb
*.opendb
*.VC.db
*.DS_Store

# Unity3D generated meta files
*.pidb.meta
Expand All @@ -70,6 +71,7 @@ crashlytics-build.properties

# ODIN Ignore the auto-generated AOT compatibility dll.
/Assets/Plugins/Sirenix/Assemblies/AOT/*
/Assets/Plugins/Sirenix/Assemblies/AOT**

# ODIN Ignore all unpacked demos.
/Assets/Plugins/Sirenix/Demos/*
Expand All @@ -79,4 +81,5 @@ crashlytics-build.properties
/Assets/Plugins/Sirenix**

# Appodeal
/Assets/Appodeal/**
/Assets/Appodeal/**
/Assets/Appodeal.meta
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ public sealed partial class AppodealSimplifierConfig : SerializedScriptableObjec
public string AppodealAPIKey => appodealApiKeyAndroid;
#elif UNITY_IOS
public string AppodealAPIKey => appodealApiKeyIOS;
#else
public string AppodealAPIKey => "not_supported_platform";
#endif
}
#pragma warning restore CA2235 // Mark all non-serializable fields
Expand Down

0 comments on commit ad387bd

Please sign in to comment.