OnTriggerStay

OnTriggerStay is pretty performance intensive and in pretty much all cases there a ways to achieve the same functionality using OnTriggerEnter/Exit so I don't plan on adding it to the released version. You can definitely add it to the runtime source version though if you really need that callback.
 
I see.

I apologize this is probably basic stuff but how would I do what you suggested "add it to the runtime source version". I tried to customize your OnTriggerEnter task for this but I get the override error "OnTriggerStay(Collider): no suitable method found to override".

What would I do to bring that method in?
 
You can download the runtime source at this link:


From there you'll need to modify a few different places in order to add support for OnTriggerStay. I would start by doing a search for OnTriggerEnter and duplicating that for OnTriggerStay.
 
Top