cara menambahkan uni antrian

//Use any type of value in the queue eg: String, Int, GameObject, etc...
public Queue<GameObject> queueName = new Queue<GameObject>();
//Dequed Object
private GameObject aGameobject

//Add an item to the queue
queueName.Enqueue(gameobject);
  
//Remove an item from the queue
aGameobject = queueName.Dequeue();
Red Team