Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
MeshMaterialChanger
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
Show file
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 property
public
Material
disabledMaterial
return
Material