コード例 #1
0
    void Start()
    {
        logListener = new SaveLogListener(logStrBuilder);
        CountlyManager.Instance.setLogListener(logListener);

        segmentation = new Dictionary <string, string>();
        profile      = CountlyManager.GetProfile();    //Get link to user profile

        profile.custom.Add("Surname", "Smith");
        profile.custom.Add("Additional info", "Any text here");
        //Here we add custom values to user profile
    }
コード例 #2
0
ファイル: DemoUI.cs プロジェクト: ramyD/countly-sdk-unity
    void Start()
    {
        logListener = new SaveLogListener(logStrBuilder);
        CountlyManager.Instance.setLogListener(logListener);

        segmentation = new Dictionary<string, string>();
        profile = CountlyManager.GetProfile(); //Get link to user profile

        profile.custom.Add("Surname", "Smith");
        profile.custom.Add("Additional info", "Any text here");
        //Here we add custom values to user profile
    }