Setup lighting (GI, AO)
This commit is contained in:
1 parent
d056207884
commit
b74123188b
13 files changed
+841
-55
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using System.Collections;
|
||||
using UnityEngine;
|
||||
|
||||
public class DirectionalLightForHTrace : MonoBehaviour
|
||||
{
|
||||
IEnumerator Start()
|
||||
{
|
||||
var gi = FindAnyObjectByType<HTraceWSGI.Scripts.HTraceWSGI>();
|
||||
if (!gi) yield break;
|
||||
gi.gameObject.SetActive(false);
|
||||
yield return null;
|
||||
gi.gameObject.SetActive(true);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user