Making an array that accepts only a string and instances of a class?
Summary The problem at hand is to create an array that only accepts strings and instances of a DialogueCommand class in a Unity system for dialogue. The current implementation uses an object array, which can lead to errors and confusion as it allows any data type. Root Cause The root cause of this issue is … Read more