Quantcast
Channel: Answers for "What's the difference between SendMessage and GetComponent?"
Viewing all articles
Browse latest Browse all 6

Answer by dhendrix

$
0
0

SendMessage is quite a bit slower than GetComponent, though using it a few times per frame is not so bad, and it is much more convenient. Generally you only have to worry about it on iPhone development. But either way, its usually best to design first, and optimize later.

This forum topic has more info on the subject, including time comparisons.


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>