示例#1
0
    void Start()
    {
        pv          = GetComponent <PhotonView>();
        globalLight = GetComponent <Light2D>();

        maxTime = dayTime + dayToNightTime + nightTime + nightToDayTime;
        if (SceneManager.GetActiveScene().name != "Tutorial")
        {
            StartCoroutine(cor());
            spawner.DaybyDay(day);
        }
    }