public List <string> GetPathFiles(string path, string exEnd) { #if UNITY_EDITOR if (FEngine.GetIsNoPack()) { return(EditorScripts.GetExistFilesPath(path, exEnd)); } #endif List <string> tempString = new List <string>(); tempString = FCommonFunction.GetFiles(SceneManager.WRPath + ResConfig.FDESASSETBUNDLE + "/" + path.ToLower(), tempString, exEnd.ToLower()); return(tempString); }
protected override void Init() { FCommonFunction.SetList(nButtons, (f, i) => { f.nBtEvent = (t) => { if (mTouchEvents.ContainsKey(TouchType.TT_KEY)) { TouchData td = mTouchEvents[TouchType.TT_KEY]; td.index = i; td.nTouchEvent(td); } }; }); }