C# 클래스 UnityPlatformer.MovingPlatformController

상속: UnityEngine.MonoBehaviour, ITriggerAble
파일 보기 프로젝트 열기: llafuente/unity-platformer

공개 프로퍼티들

프로퍼티 타입 설명
onEnter MovingPlatformActions
onExit MovingPlatformActions
onStay MovingPlatformActions
targets List

공개 메소드들

메소드 설명
DoAction ( MovingPlatformActions action ) : void
OnTriggerEnter2D ( Collider2D o ) : void
OnTriggerExit2D ( Collider2D o ) : void
OnTriggerStay2D ( Collider2D o ) : void

메소드 상세

DoAction() 공개 메소드

public DoAction ( MovingPlatformActions action ) : void
action MovingPlatformActions
리턴 void

OnTriggerEnter2D() 공개 메소드

public OnTriggerEnter2D ( Collider2D o ) : void
o UnityEngine.Collider2D
리턴 void

OnTriggerExit2D() 공개 메소드

public OnTriggerExit2D ( Collider2D o ) : void
o UnityEngine.Collider2D
리턴 void

OnTriggerStay2D() 공개 메소드

public OnTriggerStay2D ( Collider2D o ) : void
o UnityEngine.Collider2D
리턴 void

프로퍼티 상세

onEnter 공개적으로 프로퍼티

Action to perform when enter
public MovingPlatformActions onEnter
리턴 MovingPlatformActions

onExit 공개적으로 프로퍼티

Action to perform when leave
public MovingPlatformActions onExit
리턴 MovingPlatformActions

onStay 공개적으로 프로퍼티

Action to perform while stay
public MovingPlatformActions onStay
리턴 MovingPlatformActions

targets 공개적으로 프로퍼티

target Moving Platforms
public List targets
리턴 List