1234567891011121314151617181920212223242526272829303132333435 |
- using Adon.Game.BO;
- using AdonGameKit;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- /// <summary>
- /// 怪物防御体
- /// </summary>
- public class DefendMonster : MonoBehaviour
- {
- public BaseMonsterAdon m_BaseMonsterAdon;
- public Animator m_Animator;
- /// <summary>
- /// 防御碰撞特效
- /// </summary>
- public Transform m_DefendHitObj;
- private void Awake()
- {
- //m_Animator = GetComponent<Animator>();
- }
- public void SetMonster(BaseMonsterAdon monster)
- {
- m_BaseMonsterAdon = monster;
- }
- ///// <summary>
- ///// 防御碰撞触发事件
- ///// </summary>
- ///// <param name="collision"></param>
- //void OnTriggerEnter(Collider collision)
- //{
-
- //}
-
- }
|