Exemple #1
0
    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>();
    }
Exemple #2
0
 public void OnMemoryEnd(EventArgs e)
 {
     MemoryEnd?.Invoke(this, e);
 }