- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 vue图片加载失败时显示默认图片
main.jsVue.prototype.$headError = function(e) { e.target.src = require("@/assets/img_error.png");}使用 <img :src="url" @error="$headError"/>
2021-12-16 14:45:18
1164
1
原创 unity收集运行时日志
using System.Collections;using System.Collections.Generic;using UnityEngine;public class debugs : MonoBehaviour{ public string logs; // Start is called before the first frame update void Awake() { Application.logMessageReceived
2021-12-10 16:35:33
2886
原创 2021-11-01
unity自带迅录系统实现击退效果(Nav Mesh Agent)示例代码如下using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.AI;public class demoAI : MonoBehaviour{ private NavMeshAgent gam; public bool isMove; private float bac
2021-11-01 15:35:29
856
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人