Documentation

Page contents

Updated

Generate PDF from page.

Material component

Description

Notice what components you can use to manage the material and allows add easily the component.

Reference

  • Add Material Component – Add the component.Used By Effector – Enable or disable the Used By Effector property. Only for 2D Collider.

Use

public override void InspectorGUI()
{
    CGFMaterialEditorUtilitiesClass.BuildMaterialComponent(typeof(Component));
}