Referencing Scripts and GameObjects in Unity

https://www.youtube.com/watc...
A few basic ways to get references in Unity. Directly- GetComponent 0:38 /GetComponentInChildren /GetComponentInParent Public Variable- 3:00 Find- 5:01 Find 5:39 (by name) FindWithTag 6:14 (by tag) FindObjectOfType 6:51 (by component) Interaction- 7:15 OnCollisionEnter /OnTriggerEnter
SpawnCampGames, A channel chocked full resources for my fellow indie game developers. Here you'll find tutorials, tips and tricks, links to free assets, time lapses, dev logs, and more. With an emphasis on the Unity game engine, we're always looking tailor our videos to what's helpful to you, but it's not just for Unity developers. We have generalized content, as well. Including Photoshop, Blender, and content related to other key areas that compliment game developing in general. The channel will continue to grow so check back from time to time to see what resources await.
Subscribers