您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

20 行
461 B

using System;
using UnityEngine;
using Unity.Entities;
[Serializable]
public struct DamageEvent
{
public DamageEvent(Entity instigator, float damage, Vector3 direction, float impulse)
{
this.instigator = instigator;
this.damage = damage;
this.direction = direction;
this.impulse = impulse;
}
public Entity instigator;
public float damage;
public Vector3 direction;
public float impulse;
}