Posted March 12, 2023 by zellerv
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.