Exemple #1
0
 private void Awake()
 {
     occluder = GetComponentInChildren <OccluderObj>();
     CreateOCcluer();
 }
Exemple #2
0
 private void Start()
 {
     occluder = GetComponent <OccluderObj>();
     GetComponent <MeshRenderer>().material.EnableKeyword("_EMISSION");
 }