程序开发

.net 6中使用Process.Start()打开url时提示找不到文件

在 .net framework时代,如果想使用默认浏览器打开一个url可以使用以下代码:System.Diagnostics.Process.Start("h...

asp.net core由于大小写出现的问题

1、efcore在windows中使用数据库时表名不区分大小写,但在linux中区分大小写。例如:public class MyDb:DbContext{ ...

asp.net core mvc view页面变量中文乱码(即razor变量中文乱码)

asp.net core mvc view页面变量中文乱码,即razor变量中文乱码,特别是从数据库读到的中文乱码,其实是转换为html实体。有两种解决方法:1...

c#、python、php、vb取整

c#Math.Round():四舍五入。若只有一个5时,则前偶舍,前奇入。Math.Ceiling():向上取整。Math.Floor():向下取整。Math....

vb打开外部文件

'声明Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA"...

unity3d相机跟随移动物体

public Transform target;float m_height=3.0f; void LateUpdate () { transform....

unity3d物体移动、旋转和缩放的常用方法

物体移动:1、transform.Translate():位置,相对值,默认按自身坐标。transform.position:位置,绝对值,按世界坐标。2、刚体...

unity3d控制物体移动(触控、鼠标、键盘)

float x;float y;if (Input.touchCount > 0) { //触控 x = Input.GetTouch (0).delta...

unity3d控制物体旋转和缩放(包括触摸控制物体旋转和缩放)

Touch ot1;Touch ot2;float scale;void Start () {}void Update () { if (Input.to...

unity常用类的继承关系

unity3d学习笔记

《unity3d学习笔记》--擅码网unity视频教程一、新手入门1、unity3d环境搭建unity是游戏开发引擎。unity3d能做什么:游戏开发(手游)游...

visual studio格式化代码

ctrl+K+D

android studio ERROR: Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle/gradle-6.7.1-bin.zip'

解决办法:找开gradle/wrapper/gradle-wrapper.properties文件,修改distributionUrl=https\://ser...

android studio报错:项目: No matching variant of com.android.tools.build:gradle:8.0.0 was found的解决办法

android studio报错:项目: No matching variant of com.android.tools.build:gradle:8.0.0...

okhttp的使用

android网络框架之OKhttp一个处理网络请求的开源项目,是安卓端最火热的轻量级框架,适用于 JVM、Android 和 GraalVM 的细致 HTTP...

热门资讯

okhttp的使用 android网络框架之OKhttp一个处理网络请求的开源项目,是安卓端最火热的轻量级框架,适用于 ...
android studio报... android studio报错:项目: No matching variant of com.an...
android studio ... 解决办法:找开gradle/wrapper/gradle-wrapper.properties文件,...
unity3d学习笔记 《unity3d学习笔记》--擅码网unity视频教程一、新手入门1、unity3d环境搭建unit...
unity3d控制物体旋转和缩... Touch ot1;Touch ot2;float scale;void Start () {}vo...
unity3d控制物体移动(触... float x;float y;if (Input.touchCount > 0) { //触控 ...
unity3d物体移动、旋转和... 物体移动:1、transform.Translate():位置,相对值,默认按自身坐标。transf...
unity3d相机跟随移动物体 public Transform target;float m_height=3.0f; vo...