void Start() { transparent = new Color(1, 1, 1, 0); sunInitialIntensity = sun.intensity; starTransforms = stars.GetComponentsInChildren <Transform>(); starMats = stars.GetComponentsInChildren <Renderer>(); npcs = FindObjectsOfType <NPCScript>(); mems = FindObjectsOfType <Memory>(); me = FindObjectOfType <MemoryEnd>(); }
public void OnMemoryEnd(EventArgs e) { MemoryEnd?.Invoke(this, e); }