Example #1
0
    /// <summary>
    /// load list profile from Etek
    /// this function called when Start and after Add Profile
    /// </summary>
    void LoadListProfile()
    {
        // load list profile into arrayStr_Profile
        if (arrayStr_Profile.Count != 0)
        {
            arrayStr_Profile.Clear();
        }
        int sizeOfProfile = EmoProfileManagement.GetProfilesArraySize();

        for (int i = 0; i < sizeOfProfile; i++)
        {
            arrayStr_Profile.Add(EmoProfileManagement.GetProfileName(i));
        }
    }
Example #2
0
 private void Update()
 {
     this.numOfProfile = EmoProfileManagement.GetProfilesArraySize();
     this.currentDir   = Directory.GetCurrentDirectory();
 }