Journal Entry 6
Project T » Devlog
Date: 12.3.
Activity: did the Scripting Walkthrough P2
Time: 3h
Problems:
- I still don't really understand the relation between the script object and gameObject
- I don't know, why I can't access the DestructibleColumn_Whole directly from the script as a child of the column, but the broken pieces can be accessed via
```
foreach (Transform child in transform) {
GameObject childBody = child.gameObject; ... }
```
I understand the machanic of getting something via a public variable, but don't see why (or if) a have to use it here.
Files
build - Scripting1.2 - columns.zip 84 MB
Mar 12, 2023
Get Project T
Project T
mff-gdintro-2023-t
Status | Released |
Author | zellerv |
Genre | Platformer |
More posts
- Journal Entry 8Mar 21, 2023
- Journal Entry 5Mar 11, 2023
- Journal Entry 2Feb 24, 2023
- Journal Entry 1Feb 22, 2023
- Hard beginningsFeb 18, 2023
Leave a comment
Log in with itch.io to leave a comment.