![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Unity
有梦想的人不睡觉y
暴风可以让大树扎的更稳~
展开
-
unity分享链接打开APP
protected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);Context context = getApplicationContext();mCurrActivity = this;GetParamters();}@Overrideprotect原创 2017-11-23 10:25:39 · 1261 阅读 · 0 评论 -
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 · 940 阅读 · 0 评论 -
unity 获取电量;
unity 获取电量;原创 2017-11-23 10:21:11 · 628 阅读 · 0 评论 -
UGUI Text 首行缩进
“\u{3000}\u{3000}北京科技原创 2018-01-25 18:12:53 · 1311 阅读 · 0 评论 -
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 · 4445 阅读 · 5 评论 -
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 · 542 阅读 · 0 评论