Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: LordHorusNL on September 15, 2017, 11:48:34 AM

Title: Find Child VS Get Child? [SOLVED]
Post by: LordHorusNL on September 15, 2017, 11:48:34 AM
Hey guys i was just wondering if there was any real performance difference between the "Find Child" and "Get Child" actions?

I'm changing up my naming conventions and was wondering if i could switch to "Find Child" without seeing a drop in performance.
Title: Re: Find Child VS Get Child?
Post by: djaydino on September 15, 2017, 12:57:59 PM
Hi,
From what i see in the code i think GetChild Has better performance.
But its better not to use find actions when not needed.
Title: Re: Find Child VS Get Child?
Post by: LordHorusNL on September 15, 2017, 01:08:53 PM
Yep thats what i thought, i was just unsure if finding a child in a know hierarchy instead of in the scene would still cost more in performance.

Thanks djaydino. Gonna stick with GetChild then.