1 2 3 4 5 6 7 8 9
using System.Collections; using System.Collections.Generic; using UnityEngine; // 一个hit的效果,如果一个attack有多个hit,需要定义多个HitDef public struct HitDefination { }