Skip to content

Commit 652b68b

Browse files
author
Stewart Miles
committed
Silence warning about unsued PlayServicesSupport singleton.
Change-Id: Ide4a31d0f386c8215d4c6357455e635b76993def
1 parent f7ff0fc commit 652b68b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/PlayServicesResolver/src/PlayServicesResolver.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,10 +372,14 @@ public void Poll(Func<T> getCurrentValue, Changed changed) {
372372
/// </summary>
373373
internal const string EMBEDDED_RESOURCES_NAMESPACE = "PlayServicesResolver.scripts.";
374374

375+
// Silence the unused variable warning, as this holds a reference to the
376+
// PlayServicesSupport singleton.
377+
#pragma warning disable 414
375378
/// <summary>
376379
/// The instance to the play services support object.
377380
/// </summary>
378381
private static PlayServicesSupport svcSupport;
382+
#pragma warning restore 414
379383

380384
/// <summary>
381385
/// Resolver that uses Gradle to download libraries and embed them within a Unity project.

0 commit comments

Comments
 (0)