Example #1
0
        /// <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();
        }
Example #2
0
        /// <summary>Enables NFC Reading and Writing</summary>
        public static void Enable()
        {
            NativeNFC nativeNFC = Instance.nfc;

            nativeNFC.Enable();
        }