예제 #1
0
        protected override async UniTask OnLoadAsync()
        {
            await base.OnLoadAsync();

            await UniTask.SwitchToMainThread();

            m_PermissionProvider = ActivatorUtilities.CreateInstance <OpenModPermissionsProvider>(m_ServiceProvider, this);
            m_PermissionProvider.Install();
        }
예제 #2
0
 protected override UniTask OnLoadAsync()
 {
     m_PermissionProvider = ActivatorUtilities.CreateInstance <OpenModPermissionsProvider>(m_ServiceProvider);
     m_PermissionProvider.Install();
     return(base.OnLoadAsync());
 }