摘要:
C++ 树状数组模板类 template <class T> class FenwickTree { int limit; vector<T> arr; T lowbit(T x) { return x & (-x); } public: FenwickTree(int limit) { this- 阅读全文
posted @ 2022-02-20 15:38
lxp_blog
阅读(32)
评论(0)
推荐(0)
摘要:
GameObject中的成员变量 print(this.gameObject.name); //名字 this.gameObject.name="改名"; print(gameObject.activeSelf);//是否激活 print(gameObject.isStatic);//是否是静态 p 阅读全文
posted @ 2022-02-20 12:13
lxp_blog
阅读(383)
评论(0)
推荐(0)
摘要:
基础方法 旋转角度 print(transform.rotation); //四元数 print(transform.eulerAngles);//三个值,这个才是inspector面板上的rotation的值 缩放 print(transform.localScale); print(transf 阅读全文
posted @ 2022-02-20 12:06
lxp_blog
阅读(50)
评论(0)
推荐(0)

浙公网安备 33010602011771号