Comments (3)
当点击按钮时,获取对应面板的UIImage和UIText,然后修改UIImage.sprite和UIText.text就可以了吧?
from orillusion.
当点击按钮时,获取对应面板的UIImage和UIText,然后修改UIImage.sprite和UIText.text就可以了吧?
可以给个实例吗?不是太理解 具体的获取与更新数据
from orillusion.
https://codepen.io/OriIIusion/pen/xxmpowX
看你的事件触发在哪做的了 我这里用的Orillusion中的按钮 直接修改对应的颜色 icon 或者文字就行
from orillusion.
Related Issues (20)
- [BUG]: Blend首次打开页面不生效 HOT 1
- [BUG]: 控制台发出警告 HOT 2
- [FR]: 请问现在orillusion在绘制场景时,支持的模型文件最大是多少?单场景中模型的面数最大是多少? HOT 4
- [BUG]: The LoaderFunctions.OnUrl doesn't seem to be called HOT 3
- [FR]: 海量渲染WASM 申请内存时间太长 HOT 5
- [BUG]: 设置拾取模式为pixel后,添加bloompost报错 HOT 3
- [BUG]: 景深会影响2DUI HOT 1
- [BUG]: SSR,Fog会影响2DUI HOT 1
- [FR]: 关于属性动画,怎么导出json
- [BUG]: ConduitGeometry相关 HOT 1
- [BUG]: 天空盒bitmapcube加载注释错误
- [FR]: HoverCameraController可否增加pitch旋转的限制角度
- [BUG]: HoverCameraController在顶视图的时候鼠标上下移动,场景不位移 HOT 2
- [FR]: Support EXT_meshopt_compression and EXT_texture_webp glTF extension HOT 2
- [BUG]: GLTF 模型部份贴图未正确渲染
- [FR]: 能够支持MSAA
- [BUG]: 在react中使用时,Engine3D.init无法设置canvas
- [FR]: 启用 SourceMap 构建选项,提供源码映射能力 HOT 1
- [BUG]: graphic3D.drawLines 创建的线条数量过多会导致错误
- [BUG]: 当 window.devicePixelRatio 不为 1 时,会不断触发 canvas 的 resize。 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orillusion.