示例#1
0
文件: Area.cs 项目: Jossefal/Searcher
    public void SpawnNextArea()
    {
        Area nextArea = areasManager.GetArea();

        nextArea.Respawn(nextAreaSpawnPoint.position);
        nextIsSpawned = true;
    }
示例#2
0
    private void Start()
    {
        areasManager.GetArea().Respawn(transform.position);

        Destroy(gameObject);
    }