GithubHelp home page GithubHelp logo

How to use UGUI in UIWidget about uiwidgets HOT 1 OPEN

alittlecup avatar alittlecup commented on August 22, 2024
How to use UGUI in UIWidget

from uiwidgets.

Comments (1)

HiWenHao avatar HiWenHao commented on August 22, 2024

我这边也是UGUI和UIWidgets混用,我目前有两个办法,不知道能否帮到你;
1、创建一个UGUI的Canvas,将你的Spine放在UGUI的Canvas上播放,在播放时它有MainTexture可以拿到。然后你就可以把拿到的texture实时显示到UIWidgets的图片组件上边。 ★★★★推荐度

2、实时计算你需要把Spine展示到UIWidgets的什么地方,接着在UIWidgets的Canvas的下方再创建一个UGUI的Canvas,然后实时把Spine移动位置。但这个要计算,要涉及到DPI、像素比例、点击操作等等。 ★★推荐度

from uiwidgets.

Related Issues (20)

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.