コード例 #1
0
        private void Init()
        {
            _pluginInstance = this;

            permission.RegisterPermission(PermissionDeploy, this);
            permission.RegisterPermission(PermissionDeployNpc, this);
            permission.RegisterPermission(PermissionDeployFree, this);
            permission.RegisterPermission(PermissionAutoDeploy, this);

            _turretDroneTracker.UnsubscribeAll();
        }
コード例 #2
0
 private void Unload()
 {
     _pluginInstance = null;
     _pluginConfig   = null;
 }