The `MonoBehaviour` class has a member called `gameObject`. I suspect your line 12 and 27 are referring to the `MonoBehaviour` `gameObject` and not your member of `Test` which has the same name, and so is designed to be confusing. ;-) Simply rename your member to be `GO` (changing lines 6, 11, 12, 27).
↧