| 1234567891011121314151617181920212223242526272829303132333435363738 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class CharacterColliders : MonoBehaviour
- {
- public Character owner;
- public float hitRate = 1;
- public bool isDemSummon;
- private void Awake()
- {
- owner = GetComponentInParent<Character>();
- }
- public void Test()
- {
- }
- public void Attack_summonShootEvent(int shootId)
- {
- if (owner == null)
- {
- owner = GetComponentInParent<Character>();
- }
- owner.attackController.AttackShootEvent(1, shootId);
- }
- public void Attack_marchShootEvent(int shootId)
- {
- if (owner == null)
- {
- owner = GetComponentInParent<Character>();
- }
- owner.attackController.AttackShootEvent(2, shootId);
- }
- }
|