摘要:
攻击的物体(比如火焰)跟被攻击者接触时持续掉血,不接触中断掉血,再次接触继续持续掉血 using System.Collections; using System.Collections.Generic; using UnityEngine; public class PengZhuang : Mo 阅读全文
posted @ 2019-08-01 17:26
小光
阅读(136)
评论(0)
推荐(0)
摘要:
由于unity自带的碰撞组件特别耗费性能,网上的unity物体碰撞的c 代码实现比较少,没有适合的,只能自己写一个来用: 立方体: using System; using System.Collections.Generic; using UnityEngine; namespace Assets 阅读全文
posted @ 2019-08-01 14:02
小光
阅读(2878)
评论(0)
推荐(0)
浙公网安备 33010602011771号