C# Class MeshMaterialChanger, astrochimps

This class will hold the mesh original materials and change it for other. Also provides a method to restore the object's original materials
Inheritance: MonoBehaviour
Mostrar archivo Open project: arcoelho01/astrochimps

Public Properties

Property Type Description
disabledMaterial Material

Public Methods

Method Description
Awake ( ) : void
RestoreMaterials ( ) : void

Restores the saved materials

Start ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

RestoreMaterials() public method

Restores the saved materials
public RestoreMaterials ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

disabledMaterial public_oe property

public Material disabledMaterial
return Material