摘要: SpringMVC中: pom.xml附加依赖参数: <packaging>war</packaging> <dependencies> <!-- SpringMVC --> <dependency> <groupId>org.springframework</groupId> <artifactI 阅读全文
posted @ 2022-03-23 19:30 xms_667 阅读(17) 评论(0) 推荐(0) 编辑
摘要: <br/>表示换行 。br标签是一个单标签。单标签:开始标签和结束标签是同一个,斜杠放在单词后面 p 表示段落标签 img 标签图片标签 src属性表示图片文件的路径 width和height表示图片的大小 alt表示图片的提示 h1~h6 : 标题标签 列表标签: - ol 有序列表 start 阅读全文
posted @ 2022-03-23 15:43 xms_667 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2022-03-16 19:40 xms_667 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2022-03-16 14:51 xms_667 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 摘要:(set方式+有参构造)(了解:P名称空间注入) bean1.xml: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="ht 阅读全文
posted @ 2022-03-16 14:34 xms_667 阅读(41) 评论(0) 推荐(0) 编辑
摘要: public class CustomMeshCollision : Image { //重写IsRaycastLocationValid方法,定义新的事件响应区域 public override bool IsRaycastLocationValid(Vector2 screenPoint, Ca 阅读全文
posted @ 2022-03-10 21:19 xms_667 阅读(167) 评论(0) 推荐(0) 编辑
摘要: public class Bullet : MonoBehaviour { //满足碰撞条件 碰撞第一帧执行 private void OnCollisionEnter(Collision other) { //other.collider 对方的碰撞器组件引用 Debug.Log("OnColli 阅读全文
posted @ 2022-03-10 21:17 xms_667 阅读(44) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 贝塞尔曲线生成器 /// </summary> public class BezierGenerate : MonoBehaviour { public Transform beginTF; public Transform controlTF01; public 阅读全文
posted @ 2022-03-10 21:15 xms_667 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 键盘按键获取+camera旋转+向量 public class CameraZoom : MonoBehaviour { //同时按下A + B private void Update1() { if (Input.GetKey(KeyCode.A) && Input.GetKeyDown(KeyC 阅读全文
posted @ 2022-03-10 21:13 xms_667 阅读(29) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 倒计时器 /// </summary> public class CountdownTimer : MonoBehaviour { public int second = 120; private Text txtTimer; private void Start 阅读全文
posted @ 2022-03-10 15:16 xms_667 阅读(38) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示