当前位置:网站首页>Unity gets the width and height of Sprite
Unity gets the width and height of Sprite
2022-07-06 05:13:00 【Cuijiahao】
float bound_x = go.GetComponent<SpriteRenderer>().bounds.size.x;
float bound_y = go.GetComponent<SpriteRenderer>().bounds.size.y;
边栏推荐
- [leetcode16] the sum of the nearest three numbers (double pointer)
- MySQL time processing
- Rce code and Command Execution Vulnerability
- 2021 robocom world robot developer competition - undergraduate group (semi-finals)
- 行业专网对比公网,优势在哪儿?能满足什么特定要求?
- 驱动开发——HelloWDM驱动
- MPLS experiment
- [effective Objective-C] - memory management
- 【OSPF 和 ISIS 在多路访问网络中对掩码的要求】
- 图论的扩展
猜你喜欢
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
nacos-高可用seata之TC搭建(02)
RT thread analysis log system RT_ Kprintf analysis
行业专网对比公网,优势在哪儿?能满足什么特定要求?
Simple understanding of interpreters and compilers
Fluent implements a loadingbutton with loading animation
[lgr-109] Luogu may race II & windy round 6
Implementing fuzzy query with dataframe
IPv6 comprehensive experiment
Acwing week 58
随机推荐
2021 robocom world robot developer competition - undergraduate group (semi-finals)
UCF(暑期团队赛二)
[effective Objective-C] - memory management
ISP learning (2)
Talking about the type and function of lens filter
Compilation et connexion de shader dans games202 - webgl (comprendre la direction)
Review of double pointer problems
Weng Kai C language third week 3.1 punch in
集合详解之 Map + 面试题
Postman Association
Idea one key guide package
Tetris
MySQL if and ifnull use
Postman前置脚本-全局变量和环境变量
The IPO of mesk Electronics was terminated: Henan assets, which was once intended to raise 800 million yuan, was a shareholder
RT thread analysis log system RT_ Kprintf analysis
图论的扩展
The web project imported the MySQL driver jar package but failed to load it into the driver
行业专网对比公网,优势在哪儿?能满足什么特定要求?
關於Unity Inspector上的一些常用技巧,一般用於編輯器擴展或者其他