private void Start() { dCheck = transform.parent.GetComponent <DamageChecker>(); }
[SerializeField] private DamageChecker dCheck; //공격판정 쪽 // Start is called before the first frame update void Start() { aControl = GetComponent <AnimateControl>(); bMove = GetComponent <BaseMove>(); dCheck = GetComponent <DamageChecker>(); }