Question by
curiousAmit · Apr 03, 2019 at 01:18 PM ·
profilingtransform.parent
[Deep Profiling] Confusion in `transform.parent = null`
I m calling transfrom.parent = null
on 22 objects.
In Deep profiling hierarchy it shows Debug.LogWarning()
takes 65% (133ms)
and Transform.set_parentInternal()
takes 2.3% (4ms)
Is Debug.logWarning()
for profiling purpose only? Will my function will run under 4ms
without profiling? Or i need to some optimizations
capture.png
(7.2 kB)
Comment
Your answer
Follow this Question
Related Questions
LineRenderer.ScheduleGeometryJobs taking too much CPU 0 Answers
how do i get my player get sucked into a gameobject 2 Answers
Memory Profiler does not detect my mobile 0 Answers
Profiler failing to connect to iPhone in 2019.4 1 Answer
How to instantiate exactly on the requested place with 0 offset. 1 Answer