-
Notifications
You must be signed in to change notification settings - Fork 2
GameObject
Isuru Kusumal Rajapakse edited this page Jun 17, 2017
·
1 revision
Void
Create an GameObject.
| Name | Type | Description | |
|---|---|---|---|
| id | string |
- name of the GameObject. | |
| x=0 | number |
- x position. | Optional |
| y=0 | number |
- y position. | Optional |
| w=0 | int |
- desired width. | Optional |
| h=0 | int |
- desired height. | Optional |
Void
clones the object
-
GameObjectcloned game object
attaches a particular behavior component to the game object
| Name | Type | Description | |
|---|---|---|---|
| component | Component |
- component to attach |
-
GameObjectitself
Documentation generated with doxdox.