public Interaction GetInteraction(string interactionID)
        {
            InteractionsScriptableObject obj = Resources.Load(StaticStrings.InteractionsScriptableObject_FileName) as InteractionsScriptableObject;

            if (obj == null)
            {
                Debug.Log(StaticStrings.InteractionsScriptableObject_FileName + "cant be laoded");
                return(null);
            }

            int index = GetIndexFromString(interaction_IDs, interactionID);

            if (index == -1)
            {
                Debug.Log("Cant find interaction: " + interactionID);
                return(null);
            }

            return(obj.interactions[index]);
        }
        void LoadInteractions()
        {
            InteractionsScriptableObject obj = Resources.Load(StaticStrings.InteractionsScriptableObject_FileName) as InteractionsScriptableObject;

            if (obj == null)
            {
                Debug.Log("Couldn't load spell item from: " + StaticStrings.InteractionsScriptableObject_FileName);
            }

            for (int i = 0; i < obj.interactions.Length; i++)
            {
                if (interaction_IDs.ContainsKey(obj.interactions[i].interactionID))
                {
                    Debug.Log("Interaction " + obj.interactions[i].interactionID + " Item already exists in the resource manager dictionary!");
                }
                else
                {
                    interaction_IDs.Add(obj.interactions[i].interactionID, i);
                }
            }
        }