Пример #1
0
    public async void OnButtonTap_Login()
    {
        if (Application.isEditor)
        {
            DebugText.text = "Using test Bitmoji. Build to a mobile device to use the LoginKit flow";
            GameObject testAvatar = await Assets.AddTestAvatarToScene(LevelOfDetail);

            ReplaceBitmoji(testAvatar, true);
        }
        else
        {
            Snapkit.StartLogin();
        }
    }