protected override async UniTask OnLoadAsync() { await base.OnLoadAsync(); await UniTask.SwitchToMainThread(); m_PermissionProvider = ActivatorUtilities.CreateInstance <OpenModPermissionsProvider>(m_ServiceProvider, this); m_PermissionProvider.Install(); }
protected override UniTask OnLoadAsync() { m_PermissionProvider = ActivatorUtilities.CreateInstance <OpenModPermissionsProvider>(m_ServiceProvider); m_PermissionProvider.Install(); return(base.OnLoadAsync()); }