using UnityEngine; using System.Collections; namespace YLBattle { /// /// 子弹创建参数 /// public class BulletLoadParam { /// /// 子弹隶属对象编号 /// public string uid = string.Empty; /// /// 子弹实例ID /// public string id = string.Empty; /// /// 子弹模板ID [skillId] /// public string tid = string.Empty; /// /// 子弹锁定的目标ID /// public string targetId = string.Empty; /// /// Bundle资源名 /// public string res = string.Empty; /// /// 子弹目标队伍 /// public EBattleTeam team = EBattleTeam.NONE; /// /// 弹道类型 /// public EBulletTrajectoryType traject = EBulletTrajectoryType.EBULLET_TRAJECT_NONE; /// /// 弹道速度 /// public float speed = 0f; /// /// /// public EBulletTargeType trgType = EBulletTargeType.EBULLET_TARGET_NONE; /// /// 打击点(0=腰部 1=脚底) /// public EBulletHitPointType hitpoint = 0; ///// ///// 是否为屏幕效果 ///// //public int screen = 0; /// /// 音效{用';'隔开,length=3,如果小于数组长度,则!=0情况下,依次播放} /// public string[] audio = new string[] { }; } }