void Start() { pv = GetComponent <PhotonView>(); globalLight = GetComponent <Light2D>(); maxTime = dayTime + dayToNightTime + nightTime + nightToDayTime; if (SceneManager.GetActiveScene().name != "Tutorial") { StartCoroutine(cor()); spawner.DaybyDay(day); } }