示例#1
0
    void OnTriggerEnter2D(Collider2D collision)
    {
        if (collision.name == "Player")
        {
            //saveSystemManager.OnHitSaveData(collision);

            mapManager.ActivatePhase(mapManager.phase);
            mapManager.phase++;
        }
    }
示例#2
0
    void OnTriggerEnter2D(Collider2D collision)
    {
        mapManager.ActivatePhase(mapManager.phase);
        mapManager.phase++;
        //will be uncoment when we will reactivate the save system
        //if (collision.tag == "Player")
        //{

        //    //saveSystemManager.OnHitSaveData(collision);
        //}
    }