jarjin / finalframework Goto Github PK
View Code? Open in Web Editor NEW为独立游戏而生,Gameplay热更新游戏框架。(对初学者不友好)
License: MIT License
为独立游戏而生,Gameplay热更新游戏框架。(对初学者不友好)
License: MIT License
原始代码总是返回Shader.Find的结果:
public Shader GetShader(string shaderName)
{
Shader shader = null;
mShaders.TryGetValue(shaderName, out shader);
return Shader.Find(shaderName);
}
是否应该改为:
public Shader GetShader(string shaderName)
{
return mShaders.TryGetValue(shaderName, out var shader) ? shader : Shader.Find(shaderName);
}
android平台,tolua库加载第三方库AddPreLoadLib这个接口报错.
错误内容:
2021-01-25 21:59:13.945 19317-19419/com.jarjin.finalframework E/Unity: NotSupportedException: To marshal a managed method, please add an attribute named 'MonoPInvokeCallback' to the method definition. The method we're attempting to marshal is: LuaInterface.LuaDLL::luaopen_pb
at LuaInterface.LuaDLL.lua_pushcfunction (System.IntPtr luaState, LuaInterface.LuaCSFunction func) [0x00000] in <00000000000000000000000000000000>:0
at LuaInterface.LuaState.AddPreLoadLib (System.String name, LuaInterface.LuaCSFunction func) [0x00000] in <00000000000000000000000000000000>:0
at FirClient.Manager.LuaManager.OpenLibs () [0x00000] in <00000000000000000000000000000000>:0
at FirClient.Manager.LuaManager.Initialize () [0x00000] in <00000000000000000000000000000000>:0
at FirClient.Manager.GameManager.OnInitializeOK () [0x00000] in <00000000000000000000000000000000>:0
at System.Action.Invoke () [0x00000] in <00000000000000000000000000000000>:0
at System.Action`1[T].Invoke (T obj) [0x00000] in <00000000000000000000000000000000>:0
at FirClient.Manager.AssetBundleManager+<OnLoadA
我用vs2015 打开 storyEditor打开又提示缺少Krypton Navigator.dll Krypton Docking.dll Krypton Ribbon.dll Krypton Workspace.dll
,还提示还原NuGet,我用的是.net framework 4.5.2
微信多少,我加jarjin加不上,加微信好说
如题,看起来是新的库没有做OSX的适配,启动会报错
EntryPointNotFoundException: luaL_getversion
此外,Build Lua Files To Resource也会报错.内容如下:
Win32Exception: ApplicationName='/Users/xxx/FinalFramework/FirClient/Luac53/Mac/./luac', CommandLine=' -o /Users/xxx/FinalFramework/FirClient/Assets/StreamingAssets/Lua/Out/Main.lua.bytes /Users/xxx/FinalFramework/FirClient/Assets/StreamingAssets/Lua/Main.lua', CurrentDirectory='/Users/xxx/FinalFramework/FirClient/Luac53/Mac/', Native error= Cannot find the specified file
OpenPersistentPath 方法中,不同平台调用资源管理器的方法写反了
Assets\Scripts\Common\GameSettings.cs(17,12): error CS0246: The type or namespace name 'TextureImporterFormat' could not be found (are you missing a using directive or an assembly reference?)
微信查无此人,微信群发个二维码呗。
有问题需要请教您,可以加VX吗?我搜不到您,15838118278
非Debug模式下 启动游戏自动生成的代码没有copy配置文件吗 总是提示 Could not find a part of the path "xx:\FirSango\Tables\GlobalConfigTable.bytes". 新手正在学习您这套代码 如果哪里操作错误 还请指点一下 万分感谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.