Projectile 에서

총을 쏨 > 총알이 어딘가에 맞았음(안사라지고) > 맞은 물체를 가져와서 > 맞은 물체가 떄릴수있는애면 > 데미지를 줘 
OnFire > OnHit > HitResult.GetActor > if(Damagable) > HitResult의 TakeDamage 호출

 

OtherActor = 맞은 애(hit result)

 


"비정적 멤버 참조는 특정 개체에 상대적이어야 합니다" 오류

인스턴스를 생성하지 않고 호출해서 생기는 오류이다

https://softwareengineering.stackexchange.com/questions/284088/why-static-methods-cant-call-non-static-methods-directly

 

Why static methods can't call non-static methods directly?

I don't understand why most programming language don't allow developers/users to call non-static method from static method directly? What is the reason behind it? p.s. I know, you can create objec...

softwareengineering.stackexchange.com


 

 

'[햄] 작업일기' 카테고리의 다른 글

230817 Blackboard, Behavior Tree  (0) 2023.08.17
230816 AI  (0) 2023.08.16
230804  (0) 2023.08.04
230801  (0) 2023.08.01
230725 DataTable을 출력하기  (0) 2023.07.25

+ Recent posts