boredom. / Assets / Scripts / Tasks / TVRepair / TVRepairAnswer.cs
TVRepairAnswer.cs
Raw
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[Serializable]
public class TVRepairAnswer {

    [Header("Information")]
    [SerializeField] private string answerText;

    public void Initialize() {

        if (answerText.Length == 0)
            Debug.LogError("TVRepairAnswer:Initialize - Answer text cannot be empty.");

    }

    public string GetAnswerText() { return answerText; }

}