Created
June 24, 2021 08:52
-
-
Save daniele-quero/6c9f51f089f2e402432706acd76afb4f to your computer and use it in GitHub Desktop.
example of get component usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ComponentClass component = gameObjectVariable.GetComponent<ComponentClass>(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment