Updated some formatting
Updated formatting for object
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
# Object
|
||||
|
||||
## getName
|
||||
|
||||
Returns the given name of the object
|
||||
|
||||
#### Returns:
|
||||
### Returns
|
||||
|
||||
1. `string` name
|
||||
|
||||
#### Usage:
|
||||
#### Usage
|
||||
|
||||
* Prints name of object to debug window
|
||||
|
||||
```lua
|
||||
local main = basalt.createFrame()
|
||||
basalt.debug(main:getName()) -- returns the uuid
|
||||
@@ -14,4 +20,4 @@ basalt.debug(main:getName()) -- returns the uuid
|
||||
```lua
|
||||
local main = basalt.createFrame("myFirstMainFrame")
|
||||
basalt.debug(main:getName()) -- returns myFirstMainFrame
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user