123456789101112131415161718192021222324 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using Sirenix.OdinInspector;
- namespace KairoEngine.CharacterSystem
- {
- public class DamagePoint : MonoBehaviour
- {
- public DamageController damageController;
- public float damageMultiplier = 1f;
- // public void OnCollisionEnter(Collision collision)
- // {
- // Vector3 point = collision.contacts[0].point;
- // if (collision.gameObject.tag == "Bullet")
- // {
- // Bullet bullet = collision.gameObject.GetComponent<Bullet>();
- // damageController.Damage(bullet, point, damageMultiplier);
-
- // }
- // }
- }
- }
|