Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.Data;
- using UnityEngine;
- using Vuforia;
- public class Config : MonoBehaviour
- {
- Vuforia.VuforiaConfiguration.GenericVuforiaConfiguration generic = new VuforiaConfiguration.GenericVuforiaConfiguration();
- // Start is called before the first frame update
- [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
- private void Change()
- {
- DataTable dt = DataBase.GetTable("SELECT applicense FROM personalsettings");
- generic.LicenseKey = dt.Rows[0][1].ToString();
- }
- void Start()
- {
- Change();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement