public override void WriteXml(XmlWriter writer)
 {
     writer.WriteAttributeString("Entry", Entry.ToString());
     writer.WriteAttributeString("InteractDelay", InteractDelay.ToString());
     writer.WriteAttributeString("InteractType", InteractType.ToString());
     writer.WriteAttributeString("GameObjectType", GameObjectType.ToString());
     writer.WriteAttributeString("SpellFocus", SpellFocus.ToString());
 }
        public static void AddNewInteractable(InteractType type, Dictionary<string, string> args)
        {
            args["type"] = type.ToString();
            args["x"] = XLoc.ToString();
            args["y"] = YLoc.ToString();

            InteractableList.Add(args);
            RefreshInteractableList();
        }
Example #3
0
 public override string ToString()
 {
     return(type.ToString() + " " + gameObject.name);
 }