Find the first Behavior of type T on actor, if any. Use this when the actor might not have one. When it must, use getBehavior instead.
T
actor
getBehavior
The actor whose behaviors are being searched
The constructor of the Behavior type to look for
Find the first Behavior of type
Tonactor, if any. Use this when the actor might not have one. When it must, usegetBehaviorinstead.