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);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3a6c630d5fd87a74c8f73da438a45446
|
||||
Reference in new issue
Block a user