- 博客(3)
- 问答 (1)
- 收藏
- 关注
原创 unity——点击按钮场景切换
unity——点击按钮场景切换1、代码(放按钮身上):using System.Collections;using System.Collections.Generic;using UnityEngine;public class sence_switch : MonoBehaviour { public void OnClick() { Application.LoadLevel("p2"); //p2是要切换的场景 }}2、给按钮添加事件:
2021-07-08 14:52:55 1776 2
原创 递归
C语言——递归](这里写自定义目录标题)递归1、自己调用自己且一直不停调用。int digui(){ digui();}2、必须要有一个停止条件,否则会一直调用。举个栗子:最普通的求阶乘public static int mul(int n) { if(n==1) return 1; // 1的阶乘是1 // 相当于停止条
2021-03-27 15:46:10 63
原创 运行时servers服务器报错:The Tomcat server configuration at \Servers2\Tomcat v8.0 Server at localhost-config
运行时servers服务器报错:The Tomcat server configuration at \Servers2\Tomcat v8.0 Server at localhost-config is missing. Check the server for errors.因为之前新建了Servers2,然后又把它删掉了,现在启动不了,留着的Servers也没有用,所以要把它删掉重新再建...
2019-11-05 23:36:34 1356
空空如也
Unity中2D人物角色有时候会跳的很高是什么情况?
2022-03-14
TA创建的收藏夹 TA关注的收藏夹
TA关注的人