Class ChangeShaderOnObjectSpawn
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class ChangeShaderOnObjectSpawn : MonoBehaviour
- Inheritance
-
ChangeShaderOnObjectSpawn
- Inherited Members
- Extension Methods
Constructors
ChangeShaderOnObjectSpawn()
public ChangeShaderOnObjectSpawn()
Fields
from
public Shader from
Field Value
fromList
public List<Shader> fromList
Field Value
onStart
public GameObject[] onStart
Field Value
- GameObject[]
to
public Shader to
Field Value
Methods
ObjectSpawned(GameObject)
public void ObjectSpawned(GameObject spawned)
Parameters
spawned
GameObject
Start()
public void Start()