当前位置:网站首页>unity小技巧
unity小技巧
2022-08-11 05:31:00 【星际行走】
一、text添加删除线
![]()
方法一、
1、text添加组件content size fitter

2、添加个image作为删除线,添加为子节点,左右拉伸适配。image纯色即可
方法二、用TextMeshPro,TextMeshPro的font style直接就支持删除线

边栏推荐
- [Meetup Preview] OpenMLDB+OneFlow: Link feature engineering to model training to accelerate machine learning model development
- helm安装
- 欧拉法解微分方程
- C语言-6月12日-字符替换问题,将一个‘ ’替换为2个‘#’
- Day 84
- 解决npm warn config global `--global`, `--local` are deprecated. use `--location=global` instead.
- Promise.race learning (judging the fastest execution of multiple promise objects)
- 将一个excel文件中多个sheet页“拆分“成多个“独立“excel文件
- OpenGL WSAD按键操作和鼠标移动操控摄像机Camera类
- 5月leetcode-C#刷题日志(持续更新中)
猜你喜欢
随机推荐
C语言预处理
ARM assembly instruction ADR and LDR
Day 72
127.0.0.1 connection refused
vim 编辑器使用学习
经纬度求距离
JS小技巧,让你编码效率杠杠的,快乐摸鱼
OpenGL中glGenBuffers glBindBuffer glBufferData的理解
PyQt5中调用.ui转换的.py文件代码解释
【无标题】
【无标题】
Scene-driven feature calculation method OpenMLDB, efficient implementation of "calculate first use"
Day 75
heap2 (tcache attack,house of orange)
8-byte standard request parsing during USB enumeration
2021年vscode终端设置为bash模式
Lua 快速入门(四)——多脚本执行
JS事件循环机制
Day 76
本地缓存cookie的使用









