protected override void Init(string serial_key) { #if !UNITY_EDITOR || UNITY_STANDALONE _manoLicense = init(_manoSettings); _initialized = true; #endif }
/// <summary> /// Initiates the library. /// </summary> protected void InitiateLibrary() { _manoLicense = new ManoLicense(); Debug.Log("Initiating ManoMotion SDK with serial key " + serial_key + " bundle id :" + Application.identifier); Init(serial_key); Debug.Log("Initialized"); }
protected void Init(string serial_key) { if (!isInitialized) { #if !UNITY_EDITOR || UNITY_STANDALONE _manoLicense = init(serial_key); isInitialized = true; #endif } }
protected override void Init(string serial_key) { #if !UNITY_EDITOR || UNITY_STANDALONE #endif _manoLicense = init(_manoSettings); initialized = true; if (OnManoMotionLicenseInitialized != null) { OnManoMotionLicenseInitialized(); } }
/// <summary> /// Initiates the library. /// </summary> protected void InitiateLibrary() { _manoLicense = new ManoLicense(); string originalKey = _licenseKey; int maxSerialKeyCharacters = 23; List <string> allCharacters = new List <string>(); //Check and remove spaces here if (LicenseKey.Length > maxSerialKeyCharacters) { string removeExtraCharactersAndSpaceString = _licenseKey.Substring(0, maxSerialKeyCharacters); LicenseKey = removeExtraCharactersAndSpaceString; } Init(LicenseKey); }
/// <summary> /// Initiates the library. /// </summary> protected void InitiateLibrary() { _manoLicense = new ManoLicense(); string originalKey = _licenseKey; int maxSerialKeyCharacters = 23; List <string> allCharacters = new List <string>(); if (LicenseKey.Length > maxSerialKeyCharacters) { string removeExtraCharactersAndSpaceString = _licenseKey.Substring(0, maxSerialKeyCharacters); LicenseKey = removeExtraCharactersAndSpaceString; } #if UNITY_ANDROID if (externalRead && externalWrite) { Init(LicenseKey); } #else Init(LicenseKey); #endif }