GAMES IN PROGRESS
  • Topics
    • Tutorials and programming
    • Dev logs
    • Art, design and animation
    • Development tools & assets
    • Industry insights and strategies
    • Game jams & collaborations
    • Miscellaneous insights
  • Indie games
    • Published
    • Coming soon
  • Misc
    • Learning Hub
    • Dev live on Twitch
Latest Videos
Home
Discover all devlogs
Game developers

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
Home
/
Indie Game Developers
/
SpawnCampGames
/
Referencing Scripts and GameObjects in Unity
SpawnCampGames
SpawnCampGames
2.6K subscribers
https://www.youtube.com/channel/...
SpawnCampGames
VideosStatisticsAboutTutorials and programming
3 years ago
SpawnCampGames
Apex Legends Arena Clips [1]SpawnCampGames
3 years ago
SpawnCampGames
Rope Bridge || Unity TutorialSpawnCampGames
3 years ago
SpawnCampGames
Turn 3D Models into 2D Sprites || UnitySpawnCampGames
3 years ago
SpawnCampGames
Referencing Scripts and GameObjects in UnitySpawnCampGames
3 years ago
SpawnCampGames
Make a DOOM CLONE in Unity || E1M8 8-Directional SpritesSpawnCampGames