- 博客(30)
- 资源 (14)
- 收藏
- 关注
原创 Privacy Policy
UU Studio built the this app as a Free app. This SERVICE is provided by UU Studioat no cost and is intended for use as is.This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyo.
2022-01-24 01:13:42
630
原创 Privacy Policy
Toy Blast Games built the this app as a Free app. This SERVICE is provided by Toy Blast Gamesat no cost and is intended for use as is.This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Informa.
2021-03-12 00:04:18
5426
原创 Privacy Policy
Free Arcade Shooting Games built the this app as a Free app. This SERVICE is provided by Free Arcade Shooting Gamesat no cost and is intended for use as is.This page is used to inform visitors regarding my policies with the collection, use, and disclosu.
2020-12-03 23:13:53
1435
原创 Merge Airplane Privacy Policy
Free Arcade Shooting Games built the Merge AirPlane & Virus Shooting app as a Free app. This SERVICE is provided by Free Arcade Shooting Gamesat no cost and is intended for use as is.This page is used to inform visitors regarding my policies with th.
2020-11-16 16:43:06
869
原创 unity更改shader变量,所有使用该shader的都被影响
Material material = GetComponent<SkinnedMeshRenderer> ().material;Material material = GetComponent<SkinnedMeshRenderer> ().sharedMaterial; // 不能用这个material.SetColor ("_Color",new C...
2020-04-27 10:37:00
1169
原创 Privacy Policy
Yoyo Free Games built the Virus War : Space Shooter Games app as a Free app. This SERVICE is provided by Yoyo Free Games at no cost and is intended for use as is.This page is used to inform visit...
2020-02-29 18:41:23
245
原创 Unity 在Project目录创建Lua脚本
选中Project目录中你需要创建脚本的文件夹,点击右键,然后选择创建Lua脚本。创建Lua脚本后,将脚本文件改为rename mode,修改脚本名字。using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEditor;using System;using S...
2018-11-26 11:38:20
683
原创 python切割plist图片
在别人的代码基础上做了一点修改,修正裁剪不准确的问题。脚本用法请参考https://blog.youkuaiyun.com/linuxchen/article/details/16865645主要是result_box不对。result_box=( ( sizelist[0] - width )/2, ( sizel...
2018-08-23 10:17:55
1060
原创 Android平台的unity应用调起另外一个应用
bool fail = false; string bundleId = "com.xxxx.另外一个应用包名"; AndroidJavaClass up = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); AndroidJavaObject ca = up.GetStatic<AndroidJavaObject>...
2018-08-14 14:37:27
2190
原创 Unity获取wifi的mac地址-iOS
wifi的mac地址其实是BSSID#if UNITY_IOS || UNITY_IPHONE [DllImport("__Internal")] private static extern string _GetBSSID();#endifstring mac = _GetBSSID();//// MyIOSSDK.m// Unity-iPhone/
2017-03-08 16:15:01
1098
1
原创 进度条动画
进度条在某段时间内从一个值变化到另外一个值的动画。private float elapseTime = 0; private float playTime = 0.5f; private float sliderValueFrom; private float sliderValueTo; private float sliderValueCur;private
2015-05-08 11:31:41
345
原创 Unity GUI设置字体大小
用GUIStyle来设置字体void OnGUI() { GUIStyle fontStyle = new GUIStyle(); fontStyle.normal.background = null; //设置背景填充 fontStyle.normal.textColor= new Color(1,0,0); //设置字体颜色
2015-05-05 10:28:41
19635
转载 不要做一个浮躁的程序员
1.不要看到别人的回复第一句话就说:给个代码吧!你应该想想为什么。当你自己想出来再参考别人的提示,你就知道自己和别人思路的差异。 2.初学者请不要看太多太多的书那会误人子弟的,先找本系统的学,很多人用了很久都是只对部分功能熟悉而已,不系统还是不够的。 3.看帮助,不要因为很难而自己是初学者所以就不看;帮助永远是最好的参考手册,虽然帮助的文字有时候很难看懂,总觉得不够直观。
2014-07-21 13:02:01
387
转载 关于一个int *ptr=(int *)(&a+1)问题的探讨
从网络上看到这样一道有意思的题目,是关于数组与指针的问题,描述如下:main(){int a[5]={1,2,3,4,5};int *ptr=(int *)(&a+1);printf("%d,%d",*(a+1),*(ptr-1));}输出为:2,5请解释以上代码的输出结果。答案如下:*(a+1)其实很简单就是指a[1
2014-06-11 00:08:24
575
原创 插入排序
// 插入排序void insert_sort(int *array, int num){ int tmp; int i, j; for (i = 1; i < num; i++) { tmp = array[i]; for (j = i - 1; j >= 0; j--) {
2014-04-18 10:20:19
351
原创 Opengl鼠标点击物体上的交点坐标
// 渲染void CmfcView::RenderScene(){ glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); // Clear Screen And Depth Buffer glLoadIdentity(); // Reset The Current Modelview Matrix glTranslat
2013-11-28 20:15:19
1371
原创 C语言字符串拆分
#define MAX_LEN 64/*函 数:SplitString功 能:将一串字符分割为几个单词参 数:string-被拆分字符串; res-保存拆分后的单词返回值:单词个数*/int SplitString(char *string, char *res[]){ static char str[MAX_LEN]; strcpy(str, string);
2013-09-04 13:59:35
2948
原创 求两条线交点
#include #include#includeusingnamespace std;typedefdouble PointType;structpoint{ PointType x,y;};point jd;intJiaodian(point a,point
2013-08-07 22:45:27
909
原创 Delaunay三角剖分
Delaunay三角网是俄国数学家B.Delaunay于1934年发现的。关于Delaunay三角网构建的研究有许多,但由于本课题具有数据量大的特征,不宜直接沿用已有构建方法,笔者针对本课题数据特征,研究获得了适应本课题,速度较快的构建方法。Delaunay三角网有一个特性,每个三角网形成的外接圆都不包含其他参考点。利用这一个性质,我们可以直接构成Delaunay三角网:一、建立第一个三角形
2013-06-25 22:00:02
742
转载 C++迭代器
1. 迭代器(iterator)是一中检查容器内元素并遍历元素的数据类型。(1) 每种容器类型都定义了自己的迭代器类型,如vector:vector::iterator iter;这条语句定义了一个名为iter的变量,它的数据类型是由vector定义的iterator类型。(2) 使用迭代器读取vector中的每一个元素:vector ivec(10,1);for(vector
2013-06-16 23:18:58
467
原创 MFC二次分割窗口
文件1 class CMainFrame : public CFrameWnd 添加如下代码public:CSplitterWnd m_splMainCols;CSplitterWnd m_splRightRows;BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);cpp文件
2013-06-08 21:48:37
801
转载 程序员教你如何修复婚姻Bug!
——作为父亲来说,我能做的最重要的一件事情是什么? ——回家爱你妻子。生物学家 John Medina,也是《大脑规则(Brain Rules)》一书的作者,常常被问及该如何做好一个父亲,他的回答出人意料又发人深省。最近在 Hacker News 上,看到一家网络咨询公司的创始人 Tyler Ward 在 Relevant 杂志上发表的这篇《我希望我们在结婚前能知道的三件事》(3
2013-04-23 19:01:18
540
原创 How to change the root password in Ubuntu
As default Ubuntu has no password set for the root user. To gain root access you have to type in your own user password. This is the password you set for the first user while installing Ubuntu.To ma
2013-04-21 15:44:49
523
原创 gVim设置
在Ubuntu Software Center中找到gVim,然后安装。运行gvim,选择菜单Edit->Startup Settings,会弹出imrc文件的编辑窗口。在编辑窗口中添加你要的设置:设置语法高亮显示1) 打开vimrc,添加以下语句来使得语法高亮显示:syntax on2) 如果此时语法还是没有高亮显示,那么在/etc目录下的profile文件中添加以下语句:
2013-04-21 15:41:09
944
I2Localization2.8.6_f2.zip
2019-05-29
unity shaders and effects cookbook资源和代码
2018-08-23
iOS 6 Programming Cookbook
2013-04-28
HTML5 and JavaScript Web Apps
2013-04-27
Hadoop Operations
2013-04-27
Building Web Cloud and Mobile Solutions with Fsharp
2013-04-27
OSG教程PDF
2013-04-21
WebGL:Up and Running
2013-04-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人