Trying to make a generic list of strings but I can’t figure out or find any info on doing this without using int. I’m sure I’m overlooking some basic knowledge so please fill me in!
Assets/Scripts/Wordspawn.cs(10,105): error CS1729: The type System.Collections.Generic.List<string>' does not contain a constructor that takes 5’ arguments
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Wordspawn : MonoBehaviour {
// Use this for initialization
void Start () {
List words = new List(“River”, “Mango”, “DBM2BABY”, “Seven”, “Brownies”);