C# script error CS1002; expected for making question list in unity
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu]
[System.Serializable]
public class Questions : ScriptableObject
{
[System.Serializable]
public class QuestionData
{
public string queston = string.Empty;
public bool isTrue = false;
public bool questioned = false;
}
public int currentQuestion = 0;
public List<QuestionData> questionList;
public void AddQuestion()
{
questionList.Add(new QuestionData())
}
}