示例#1
0
    protected void AddNewPlayer(int unit_id, Vector3 location)
    {
        if (unit_id < 0 || unit_id >= unit_db.units.Length)
        {
            return;
        }

        UnitSO unit = unit_db.units[unit_id];

        raid_manager.AddNewPlayer(unit, location);
    }