コード例 #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());
 }