public override void Load(BinaryReader BR) { base.Load(BR); _ScriptToUsePath = BR.ReadString(); if (Owner != null) { EventToUse = Owner.Copy(); EventToUse.Load(_ScriptToUsePath); } }
public override void Load(BinaryReader BR) { base.Load(BR); _ScriptToUsePath = BR.ReadString(); if (Owner != null) { SubRoutineToUse = Owner.Copy(); if (File.Exists("Content/AIs/" + _ScriptToUsePath + ".peai")) { SubRoutineToUse.Load(_ScriptToUsePath); } } }