Blagovest-Hristov_Voyage-And-Doom/Project Unnamed/Assets/Spawn_Object.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Spawn_Object : MonoBehaviour
{
    public GameObject[] objects;
    // Start is called before the first frame update
    void Start()
    {
        int rand = Random.Range(0, objects.Length);
        Instantiate(objects[rand], transform.position, Quaternion.identity);
    }  

    // Update is called once per frame
    void Update()
    {
        
    }
}
