Create in Project > Assets > Script Double-click to open
If you get an error that MonoBehavior is not inherited
- If I click on Script on the Unity side and the code appears on the Inspector screen, the error will not reproduce.
- Maybe the updated file hasn’t loaded yet or something.
This page is auto-translated from /nishio/Script using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.