Cheat Sheet
Sometimes you know what you’re looking for, but you don’t know where it is.
Debugging
Name | Code |
|---|---|
Logging to console |
|
Drawing to screen |
|
Asserting |
|
Transforms
Name | Code |
|---|---|
Get GameObject Position |
|
Set GameObject Position |
|
Get Local Position |
|
GameObjects
Name | Code |
|---|---|
Find by name |
|
Find by Guid |
|
Creating |
|
Deleting |
|
Disabling |
|
Duplicating |
|
Adding a Tag |
|
Iterate Children |
|
Deleted Check |
|
Components
Name | Code |
|---|---|
Add component |
|
Remove component |
|
Disabling |
|
Get GameObject |
|
Get Component |
|
Get or Add |
|
Iterate |
|
Deleted check |
|
Get all active |
|