自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (1)
  • 收藏
  • 关注

原创 unity 系统分享

public void ShareImage( String path, String Name ) { File file = new File( path, Name ); Uri imageUri = Uri.fromFile(file); Intent imageIntent = new Intent(Intent.ACTION_SEND); ...

2018-09-11 10:16:11 538

原创 unity 网页 基于 UniWebView 做UGUI 适配

// 在UniWebViewHelper添加此函数; public static int ConvertPixelToPoint(float pixel, bool width) {#if UNITY_IOS && !UNITY_EDITOR float scale = 0; if (width) { scale =

2018-02-07 19:45:04 4443 5

原创 UGUI Text 首行缩进

“\u{3000}\u{3000}北京科技

2018-01-25 18:12:53 1309

原创 python 06 -file

import os,time,sys;# -*- coding:utf-8 -*-#Author: SuBin Shen#文件操作;#rU 或 Ua 以读方式打开, 同时提供通用换行符支持 (PEP 278)#w 以写方式打开,#a 以追加模式打开#r+ 以读写模式打开#w+ 以读写模式打开#a+ 以读写模式打开#rb 以二进制读

2018-01-15 14:11:51 175

原创 python 05集合

# -*- coding:utf-8 -*-#Author: SuBin Shen#集合 set 类似于C++ set_List1 = set([13,7,8,8,18,81,5]);_List2 = set([2,10,33,55,7]);# 取出交集的元素;print(_List1.intersection(_List2));print(_List1&_List2);# 合并

2018-01-10 18:38:30 133

原创 python 04 字典简单操作

#Author: SuBin Shen# -*- coding:utf-8 -*-#字典操作; #字典是无序的info = { "name":"yuhuan","age":23,"form":"hebei"};#获取#get 检查是否存在;print(bool(info.get("age")));#2.xprint(info.has_key("age"))#3.0print("

2018-01-10 17:16:38 154

原创 python 3 字符串操作

# -*- coding:utf-8 -*-#Author: SuBin Shen# 字符串常用操作;_Name = " mr shen";# 首字母大写;print(_Name.capitalize());# 包含数量;print(_Name.count("m"));#将元素放在50个-中间;print( _Name.center(50,"_"));# 字符串是否是以com结

2018-01-10 16:18:45 154

原创 Python 02

# -*- coding:utf-8 -*-import sys;import os;import copy;#import study1;#Author: SuBin Shen;#2.1 简单库文件介绍;#python的环境变量;print(sys.path);#当前文件的相对路径;print(sys.argv);# 获取传来参数,类似于给函数传参;#print(sys.

2018-01-10 15:08:27 121

原创 python学习 01

# -*- coding:utf-8 -*-import getpass;# 1.0 字符串简单操作;# 字符串相加;_Name = "ZhiWaKeJi";_Name = _Name + _Name;_Name = "ZhiWa%s"%("KeJi");#格式化字符串;print( "my name is {name}".format(name = "zhiwakeji"))p

2018-01-09 16:04:40 116

原创 小白双链表

include “stdafx.h”include “PlayerInfo.h”include include using namespace std; using namespace Player; struct Peopel { int age; string from; string name; Peopel* pHead; Peopel

2017-12-18 19:40:18 121

翻译 小白链表

// My C++.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "PlayerInfo.h"#include #include #include #include using namespace std;using namespace Player;struct Peopel

2017-12-06 19:20:55 164

原创 unity 关闭弹出android 提示框

@Overridepublic boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK )  { AlertDialog isExit = new AlertDialog.Builder(this).create(); isExit.setTitle("提示"

2017-11-23 10:28:43 935

原创 unity分享链接打开APP

protected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);Context context = getApplicationContext();mCurrActivity = this;GetParamters();}@Overrideprotect

2017-11-23 10:25:39 1260

翻译 android 复制功能

public void copyTextToClipboard(final String text) {        runOnUiThread(new Runnable() {            @Override            public void run() {                ClipboardManager clipboardMana

2017-11-23 10:22:39 2173

原创 unity 获取电量;

unity 获取电量;

2017-11-23 10:21:11 627

翻译 android 打开应用设置

private void GetAppDetailSettingIntent() { Activity activity = mCurrActivity; Intent localIntent = new Intent(); localIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

2017-10-24 10:23:31 1249

HuaTuoHelper.cs

HuaTuoHelper.cs

2022-07-12

空空如也

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

TA关注的人

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