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