当前位置:网站首页>Unity3d extended toolbar
Unity3d extended toolbar
2022-07-01 17:28:00 【Technological transformation of the world】
Add a handy tool to unity3d Editor , Accelerate use efficiency .
public class PathMaker : EditorWindow
{
private static GameObject obj = null;
[MenuItem("GameObject/ Production path ( Shortcut key ALT+A) &a")]
public static void ShowWindow(MenuCommand com)
{
obj = (GameObject)com.context;
SceneView view = SceneView.lastActiveSceneView;
Debug.Log("camera position:"+view.camera.transform.position);
// view.pivot = YOUR_GAME_OBJECT.transform.position;
// Omit here 1000 Words realize their own logic .
}
}
This code converts GameObject Add an option to the right-click menu “ Production path ( Shortcut key ALT+A)”, You can use shortcut keys ALT+A Instead of , Get the camera position in the current scene .
边栏推荐
- 英特尔开源深度学习工具库 OpenVINO,将加大与本土软硬件方合作,持续开放
- 开发那些事儿:EasyCVR集群设备管理页面功能展示优化
- GameFramework食用指南
- Report on research and investment prospects of UHMWPE industry in China (2022 Edition)
- Basic usage of Frida
- 中国氮化硅陶瓷基板行业研究与投资前景报告(2022版)
- SQL question brushing 584 Looking for user references
- [pyg] document summary and project experience (continuously updated
- unity3d扩展工具栏
- The reviewboard has 500 errors when submitting a review. Solutions
猜你喜欢

Babbitt | yuan universe daily must read: Naixue coin, Yuan universe paradise, virtual stock game Do you understand Naixue's tea's marketing campaign of "operation pull full"

In aks, use secret in CSI driver mount key vault

Redis6.0 new features

Petrv2: a unified framework for 3D perception of multi camera images

Yyds dry inventory MySQL RC transaction isolation level implementation

ACL 2022 | 分解的元学习小样本命名实体识别

【PyG】文档总结以及项目经验(持续更新

SQL question brushing 1050 Actors and directors who have worked together at least three times

ACM MM 2022视频理解挑战赛视频分类赛道冠军AutoX团队技术分享

字节跳动数据平台技术揭秘:基于 ClickHouse 的复杂查询实现与优化
随机推荐
Gaussdb (for MySQL):partial result cache, which accelerates the operator by caching intermediate results
中国一次性卫生用品生产设备行业深度调研报告(2022版)
JDBC: deep understanding of Preparedstatement and statement[easy to understand]
Research Report on development prediction and investment direction of nylon filament sewing thread in China (2022 Edition)
Research Report on China's enzyme Market Forecast and investment strategy (2022 Edition)
为什么你要考虑使用Prisma
Why should you consider using prism
走进微信小程序
Hidden Markov model (HMM): model parameter estimation
How wild are hackers' ways of making money? CTF reverse entry Guide
Report on research and investment prospects of UHMWPE industry in China (2022 Edition)
In depth evaluation and development trend prediction report of China's ice cream market (2022 Edition)
String class
Roewe rx5's "a little more" product strategy
Vulnhub range hacksudo Thor
Report on Market Research and investment prospects of ammonium dihydrogen phosphate industry in China (2022 Edition)
Soft test software designer full truth simulation question (including answer analysis)
拼接字符串,得到字典序最小的结果
vulnhub靶场-Hacker_Kid-v1.0.1
Encryption and decryption of tinyurl in leetcode