FirePos.cs 572 B

1234567891011121314151617
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class FirePos : MonoBehaviour
  5. {
  6. public enum EBulletCastPoint
  7. {
  8. ECAST_POINT_DEFLUAT, // 默认 角色枪口
  9. ECAST_POINT_HEAD, // 头部 挂载组件
  10. ECAST_POINT_SHOULDER, // 肩部 挂载组件
  11. ECAST_POINT_SHOULDER02, // 肩部 挂载组件
  12. ECAST_POINT_FOOT, // 足部 挂载组件
  13. }
  14. public EBulletCastPoint castPoint = EBulletCastPoint.ECAST_POINT_DEFLUAT;
  15. public Transform rootTsfm;
  16. }