Timeline for Why does component.GetComponent<Rigidbody>() return "null", when a rigid body is NOT attached?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 15, 2018 at 8:54 | comment | added | user112729 | Thank you for your very informative answer! I suppose another alternative is to change my return statement to return !childComponent.Equals(null);? | |
| Mar 13, 2018 at 19:40 | history | edited | DMGregory♦ | CC BY-SA 3.0 | Adding where option |
| Mar 13, 2018 at 19:36 | vote | accept | CommunityBot | ||
| Mar 13, 2018 at 17:11 | history | answered | DMGregory♦ | CC BY-SA 3.0 |