XaiJu
Peter
Peter

patreon


[Unity Tip] Use TryGetComponent(0 to avoid null Reference Exception

To avoid getting a Null Reference Exception in Unity, use TryGetComponent() instead of GetComponent() when working with components🙂👍

#unitytips #gamedev #unity2d #IndieGameDev #Coding


More Creators