1. 问题描述
最近在项目中遇到一个问题,项目封装了一个UI的Tween脚本,支持UI的PositionTween,不过需要提供的StartPos和EndPos是anchoredPosition。然而,我需要对完全不同层级下的两个UI控件A,B进行坐标上的运算。
例如:
-- Main
---- Content
------ A
------ ScrollV……继续阅读 »
wahh
2年前 (2018-11-14) 3384浏览 1评论
28个赞
1.安装VAssistX
公司项目是老工程,使用的还是VS2008,不过在安装番茄助手之后,番茄助手的有的功能没有设置快捷键,所以在网上查阅的快捷键并没有效果。因此很影响开发的效率。
例如:Find References功能就并没有设置快捷键。
2.设置VAssistX的快捷键
1.Visual Studio 的“Tools”→”Custom……继续阅读 »
wahh
3年前 (2018-08-04) 5087浏览 0评论
1个赞
题目
Implement strStr().
Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.
Example 1:
Example 2:
Clarification:
What should we……继续阅读 »
wahh
3年前 (2018-07-23) 973浏览 0评论
0个赞
题目
Given an array nums and a value val, remove all instances of that value in-place and return the new length.
Do not allocate extra space for another array, you must do this by mo……继续阅读 »
wahh
3年前 (2018-07-14) 1051浏览 0评论
1个赞
题目
Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.
Do not allocate extra space for another array, you m……继续阅读 »
wahh
3年前 (2018-07-14) 1117浏览 0评论
0个赞