21 lines
404 B
C#
21 lines
404 B
C#
using UnityEngine;
|
|
using UnityStandardAssets.ImageEffects;
|
|
|
|
public class SunShaftPosition : MonoBehaviour
|
|
{
|
|
public SunShafts sunShaftScript;
|
|
|
|
public GameObject uniStormSun;
|
|
|
|
private void Start()
|
|
{
|
|
uniStormSun = GameObject.Find("SunGlow");
|
|
sunShaftScript = GetComponent<Camera>().GetComponent<SunShafts>();
|
|
sunShaftScript.sunTransform = uniStormSun.transform;
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
}
|
|
}
|