自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

iFuMI的博客

坚持的魅力往往在于待回首时总会收获付出的感动-BigoSprite

  • 博客(9)
  • 资源 (4)
  • 问答 (4)
  • 收藏
  • 关注

原创 通过打印日志的方式检查BUG & 单例模式类使用前要保证被初始化

解决方案: 调整脚本执行顺序,让Transcript类(脚本)的执行顺序先于SkillButton类(脚本)。Unity>Edit>

2016-05-16 23:14:10 360

原创 通过委托与事件监听状态改变来更新UI

该博文涵盖的知识点1. C# 委托2. 如何利用委托监听事件以此更新显示所要完成目标我们刚开始做好的部分UI界面如下图所示:观察左边的红色方框,我们先做了实例的姓名,头像,slider,和Label等,在运行游戏时候需要更新相应的属性。在下面的脚本中,我们分别更新:左边方框中的nameLabel(黄晓明),energyLabel(50/100),toughenLab

2016-05-14 00:24:25 3331

转载 C++使用STL:慎重选择删除元素的方法

原文出自:C++使用STL:慎重选择删除元素的方法 关于要删除容器中元素要选用什么样的方法(因为不同的容器所支持或删除的方法效率不同),总结如下:假设容器:Containerc;1)要删除容器中中有特定值的所有对象:如果容器是vector、string或deque,则使用erase-remove习惯用法:c.erase(remove(

2016-05-03 18:03:21 1509

原创 STL移除型算法remove

下图是remove的工作原理:

2016-05-03 17:06:41 428

原创 27. Remove Element

Given an array and a value, 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 in place with constant memory.The

2016-05-03 16:28:43 311

原创 前序遍历,中序遍历和后序遍历 & 已知两种遍历,求第三种遍历

前序遍历,中序遍历及后序遍历

2016-05-03 12:45:09 2347 1

翻译 80. Remove Duplicates from Sorted Array II

Remove Duplicates from Sorted Array II Follow up for “Remove Duplicates”: What if duplicates are allowed at most twice? For example, Given sorted array nums = [1,1,1,2,2,3], Your func

2016-05-02 22:25:15 274

原创 26. Remove Duplicates from Sorted Array

Remove Duplicates from Sorted Array Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for anoth

2016-05-02 17:31:46 287

翻译 Unity Official Tutorial --- CREATING A BREAKOUT GAME FOR BEGINNERS

CREATING A BREAKOUT GAME FOR BEGINNERSIn this live training session we look at creating a Breakout style game including basic game mechanics, user interface and a game manager script.Paddleusing UnityE

2016-05-01 14:58:02 588

UnityAPI解析pdf

UnityAPI解析pdf 完整版

2016-08-04

Unity3d NGUI实战教程

Unity3d NGUI实战教程pdf文档。我拿积分,你拿资源,谢谢

2016-08-04

安卓多线程时钟

基于JAVA的安卓多线程时钟,简单代码

2016-03-25

Android_SDTxtReadWrite

基于ANDROID的简单SD卡写入读取txt文本文件

2016-03-25

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除