LayaAir | LayaAir Engine | Graphics library
kandi X-RAY | LayaAir Summary
kandi X-RAY | LayaAir Summary
Vector Renderer, Atlas Texture, HTML Text, Bitmap Fonts, Mask, Filter, Animation, Timeline, UI, ParticleSystem, SkeletonAnimation, Physics, etc.. Camera, Mesh, ParticleSystem, Multiple Light, SkyRender ,Animation , PhysicBaseRendering, Shadow, Custom Shader, Trail effect, PixelLine, Physics, Fog, StaticBatch, DynamicBatch, PostProcess etc...
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of LayaAir
LayaAir Key Features
LayaAir Examples and Code Snippets
Community Discussions
Trending Discussions on LayaAir
QUESTION
When I develop Huawei quick game in the LayaAir Engine, some Dialog mask layers cannot be removed, and some can be resolved but cannot be recreated.
...ANSWER
Answered 2021-Mar-12 at 06:02You can call the
Laya.Dialog.manager.maskLayer.removeself()
API to remove a mask layer, as shown in Figure 1.If you call the
close()
method by yourself, you need to set the secondshowEffect
attribute in the method tofalse
, as shown in Figure 2. Otherwise, the judgment in theclose()
method cannot be executed. As a result, the closing fails, or re-enabling will not take place for the mask layer.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install LayaAir
Publishing Engine
Publishing API documentation
Compile sample
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page