// Use this for initialization
        void Start()
        {
            var _configStruct = new configStruct()
            {
                _enterprise    = enterprise.ToString().ToLower(),
                _apiKey        = APIKey,
                _customVersion = customVersion,
                _customTag     = customTag
            };

            var DllString = JsonUtility.ToJson(_configStruct);

            Debug.Log(DllString);

            _practicalDLL = GetComponent <PracticalDLL>();
            _practicalDLL.SetAPIKey(DllString);
        }
    void GiveFeedback()
    {
        var helpButton = new PracticalDLL();

        helpButton.SendEmail();
    }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     _practicalDLL = GetComponent <PracticalDLL>();
     _practicalDLL.SetAPIKey(APIKey);
 }