浏览代码

Remove using statement to simplify.

/feat-parrelsync
Ben Randall 2 年前
当前提交
d39f08f2
共有 1 个文件被更改,包括 2 次插入7 次删除
  1. 9
      Assets/Scripts/GameLobby/Auth/SubIdentity_Authentication.cs

9
Assets/Scripts/GameLobby/Auth/SubIdentity_Authentication.cs


using Unity.Services.Authentication;
using Unity.Services.Core;
#if UNITY_EDITOR
using UnityEngine;
using ParrelSync;
#endif
namespace LobbyRelaySample.Auth
{
/// <summary>

await UnityServices.InitializeAsync();
#if UNITY_EDITOR
if (ClonesManager.IsClone())
if (ParrelSync.ClonesManager.IsClone())
string customArgument = ClonesManager.GetArgument();
string customArgument = ParrelSync.ClonesManager.GetArgument();
AuthenticationService.Instance.SwitchProfile($"Clone_{customArgument}_Profile");
}
#endif

正在加载...
取消
保存