20 lines
374 B
C#
20 lines
374 B
C#
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class TestCode : MonoBehaviour
|
||
|
|
{
|
||
|
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||
|
|
void Start()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
// Update is called once per frame
|
||
|
|
void Update()
|
||
|
|
{
|
||
|
|
if (Input.GetKeyDown(KeyCode.P))
|
||
|
|
{
|
||
|
|
DynamicGI.UpdateEnvironment();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|