/// <summary>Enables NFC Reading and Writing</summary> public static void Enable() { NativeNFC nativeNFC = Instance.nfc; if (!nativeNFC.IsNFCEnabled()) { Debug.LogWarning("NFC is not enabled on this device, you might want to notify the user. The current NFC state can be checked with the \'IsNFCEnabled()\' method."); } nativeNFC.Enable(); }
/// <summary>Checks if NFC is currently enabled on this device</summary> public static bool IsNFCEnabled() { NativeNFC nativeNFC = Instance.nfc; return(nativeNFC.IsNFCEnabled()); }