編輯

共用方式為


MaterialInstance.Materials Property

Definition

Returns all the instantiated materials of this object, similar to Renderer.materials.

public:
 property cli::array <UnityEngine::Material ^> ^ Materials { cli::array <UnityEngine::Material ^> ^ get(); };
public UnityEngine.Material[] Materials { get; }
member this.Materials : UnityEngine.Material[]
Public ReadOnly Property Materials As Material()

Property Value

UnityEngine.Material[]

Applies to