C# 클래스 ProjectStorms.CannonBallRaytracer

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: patferguson/Storms-Project

공개 메소드들

메소드 설명
Awake ( ) : void
OnEnable ( ) : void
OnTriggerEnter ( Collider a_other ) : void

비공개 메소드들

메소드 설명
ExpandTrigger ( ) : void

Expands the trigger over a period of time

HitObject ( GameObject a_gameObject ) : void

Attempts to hit an object by raycast onto it first, then destroying that ship part (if ship part) and applies a force in the direction of this game object's forward vector

Update ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

OnEnable() 공개 메소드

public OnEnable ( ) : void
리턴 void

OnTriggerEnter() 공개 메소드

public OnTriggerEnter ( Collider a_other ) : void
a_other UnityEngine.Collider
리턴 void