Show / Hide Table of Contents

Method GetRendererMaterials

| Edit this page View Source

GetRendererMaterials(GameObject)

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