Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/20/18 in File Reviews

    tips: 1) Add functions directly instead of working with the manager, e.g.: kemperrr_camera.setActiveCamera(false); 2) Add a proxy or expose an object with cameras so: camerasManager.getCamera('camera?'); // => camerasManager["camera"]; 3) static doesExist(camera) { try { return camera.doesExist(); } catch(err) { return false; } return true; } // => static doesExist(camera) { return mp.cameras.exists(camera)&& camera.doesExist(); }
    1 point
×
×
  • Create New...