- A string (e.g. the letters used to make a particular sound)
- A list of items in another custom class called NeemData (e.g. a list of the sounds themselves).
NeemData is defined in another Scriptable Object. For the purposes of comparing 2 NeemDatas, I only really need to confirm that neemName is the same for both:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
[CreateAssetMenu(fileName = "New NeemData", menuName = "Neem Data", order = 51)]
public class NeemData : ScriptableObject
{
[SerializeField]
public string neemName;
[SerializeField]
public Vector3 neemPosition;
[SerializeField]
public Sprite singleNeemSprite;
[SerializeField]
public Color baseColor;
[SerializeField]
public AudioClip Pronunciation;
[SerializeField]
public AudioClip placementAudio;
[SerializeField]
public List<PronunciationData> blendPronunciation;
[SerializeField]
public string feemText;
[SerializeField]
public List<FeemData> coreFeems;
[SerializeField]
public Color feemColor;
}