Name | Type | Description | Example |
---|---|---|---|
Integers | int | Whole Numbers | 1, 2, 3, 100, 200, 300 |
Floating Point | float | Numbers with a decimal | 1.2 2.3 100.0 |
Strings | str | Ordered sequence of characters | “hello” ‘GrandMasterTux’ “1234” |
Lists | list | Ordered sequence of objects | [1,2,3,”hello”, 100.0] |
Dictionaries | dict | Unordered Key:Value pairs | {“key”:”value”,”name”:”GrandMasterTux”) |
Tuples | tup | Ordered immutable sequence of unique objects | (1,”hello”,123.4) |
Sets | set | Unordered collection of unique objects | {“a”,”b”,”c”} |
Booleans | bool | Logical value | True or False |
Unity Resources for Assistance
Unity has a great community for assistance, here are some...