Git Product home page Git Product logo

x-et7's Issues

FUI的OnShow方法报错会卡死

FUIComponentSystem的RealShowPanel方法中,是先调用OnShow方法,再设置VisiblePanelsDic。

如果OnShow方法报错了,就不会设置VisiblePanelsDic。

但此时UI已经打开了,执行关闭逻辑的时候,VisiblePanelsDic中找不到相关Id,就不会关闭界面,导致整个UI卡死。

感觉可以把VisiblePanelsDic的设置提前。

官方示例导入报错

using ;

namespace ET.Client
{
[ComponentOf(typeof(FUIEntity))]
public class BasicsPanel: Entity, IAwake
{
private FUI_BasicsPanel _fuiBasicsPanel;

	public FUI_BasicsPanel FUIBasicsPanel
	{
		get => _fuiBasicsPanel ??= (FUI_BasicsPanel)this.GetParent<FUIEntity>().GComponent;
	}
}

}

fairygui官方示例,有很多按钮那个页面导入报错,上面是BasicsPanel.cs内容,using后面缺失;同时没有FUI_BasicsPanel 这个文件;

最新代码报错

克隆最新代码,打开后提示报错:
Assets\Scripts\ThirdParty\FairyGUI\Scripts\Utils\ToolSet.cs(113,37): error CS0246: The type or namespace name 'Vector2' could not be found (are you missing a using directive or an assembly reference?)

和三方库引用方式有关?

x-et8

有没有x-et8啊?

大佬,就是我想测试一下这个项目的打包,没打包成功.

测试打包运行不起来,我的改动跟操作:
我在YooAsset里build,我安装了hybridCLR,并且 生成 全部,没有报错,也编译了项目没有代码报错,在unity上能运行项目.
image

然后还在MonoResComponent.GetHostServerURL()改成了我的服务器的ip跟端口,我在我的服务器上iis弄了个web服务器ftp.
image

然后就是本地能正常运行,然后打包之后打开打开exe运行不起来,好像是读取不到资源一样.
image
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.