Dev
Dev is not creatable, there's only one instance of it. It can only be accessed through its globally exposed variable.
Dev contains handy functions and attributes for developers.
Functions
nil SetGameThumbnail ( )
Takes a screenshot and sets it as a thumbnail for the game.
Client.Action3 = function() Dev:SetGameThumbnail() end
Properties
Displays all geometry objects (Shape, MutableShape or Mesh) bounding box when set to true, false by default.
It can be set to a geometry object or table of geometry objects to display the bounding boxes of these individual objects. Set the field back to false to turn it all off.
-- display the bounding box of a single shape Dev.DisplayBoxes = myShape -- display the bounding box of a collection of geometry objects Dev.DisplayBoxes = { myShape1, myMesh, myShape2 } -- turn everything OFF Dev.DisplayBoxes = false
Displays collision boxes when set to true, false by default.
It can be set to an object or table of objects to display the bounding boxes of these individual objects. Set the field back to false to turn it all off.
-- display the collider of a single object Dev.DisplayColliders = myObject -- display the collider of a collection of objects Dev.DisplayColliders = { myObject1, myObject2 } -- turn everything OFF Dev.DisplayColliders = false
Displays a framerate counter when set to true, false by default.