lxc1994518 发表于 2018-11-12 03:48

萌新自制功法冒红字,各位mod大佬帮帮萌新啊

本帖最后由 lxc1994518 于 2018-11-12 04:08 编辑

萌新我想搞个然山的1阶功法自娱自乐。
然后照着大佬的攻略做了gangfa,gangfapower的增量txt,
想进游戏看看效果但是鼠标移到图标就红字求大佬告知咋办

以下为红字

KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2<int, System.Collections.Generic.Dictionary`2<int, string>>.get_Item (int) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:151
at GongFaBook.WindowManage_ShowGongFaMassage_Patch.Postfix (WindowManage,int,int,int,int,UnityEngine.UI.Toggle,UnityEngine.UI.Text&,string&) <IL 0x0021d, 0x0081b>
at (wrapper dynamic-method) WindowManage.ShowGongFaMassage_Patch2 (object,int,int,int,int,UnityEngine.UI.Toggle) <IL 0x0072f, 0x0191d>
at (wrapper dynamic-method) WindowManage.WindowSwitch_Patch5 (object,bool,UnityEngine.GameObject) <IL 0x04b28, 0x12e0f>
at PointerEnter.OnPointerEnter (UnityEngine.EventSystems.PointerEventData) in I:\Scroll Of TaiWu\Scroll Of TaiWu 1.0\Assets\Scripts\StorySystem.cs:2671
at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerEnterHandler,UnityEngine.EventSystems.BaseEventData) in C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\EventSystem\ExecuteEvents.cs:22
at UnityEngine.EventSystems.ExecuteEvents.Execute<UnityEngine.EventSystems.IPointerEnterHandler> (UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IPointerEnterHandler>) <0x0034d>

页: [1]
查看完整版本: 萌新自制功法冒红字,各位mod大佬帮帮萌新啊