C# 클래스 ProximityConstantShootBehaviour, SlashRunner

Shooting behaviour that constantly shoots the attached Shooter every frame iff the target is close enough.
상속: MonoBehaviour
파일 보기 프로젝트 열기: matthewAURA/SlashRunner

공개 프로퍼티들

프로퍼티 타입 설명
activateDistance double
target GameObject

공개 메소드들

메소드 설명
Start ( ) : void
Update ( ) : void

메소드 상세

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

activateDistance 공개적으로 프로퍼티

Distance from the target at which the components activate
public double activateDistance
리턴 double

target 공개적으로 프로퍼티

Components activate when target is close enough
public GameObject target
리턴 GameObject