Show / Hide Table of Contents

Method GetRenderers

| Edit this page View Source

GetRenderers(GameObject)

Get a list of all MeshRenderer and SkinnedMeshRenderer in this GameObject and its childs.
Declaration
public static List<Renderer> GetRenderers(GameObject gameObject)
Parameters
Type Name Description
GameObject gameObject Parent GameObject
Returns
Type Description
List<Renderer> List of MeshRenderer and SkinnedMeshRenderer
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾