C# 클래스 Drag.DraggableObject

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: juliancruz87/madbricks 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OnLauncherTouched OnLauncherTouched
OnNodeUpdated System.Action
OnObjectDragged OnObjectDragged
OnObjectStopDrag System.Action
OnSnap System.Action

Private Properties

프로퍼티 타입 설명
Awake void
CandidatePositionCanBeFixed bool
CheckMapObjectCondition void
CheckMouseInput void
CheckTouchInput void
DebugDragDirection void
DebugHitFloor void
DebugTouchInput void
EnlargeColliderSize void
GetInputPosition Vector3
GetNearestMapObject Map.MapObject
GetTheFirstGameObject UnityEngine.GameObject
HitFloorAtPosition bool
IsAllowedToStartANewDrag bool
ItWillHitAnotherTotem bool
OnCollisionEnter void
OnDestroy void
OnGUI void
PlayCollideSound void
ProcessMapObjectCollision void
RestoreColliderSize void
SetNewLauncher void
Snap void
Start void
StartDrag void
StickToLauncher void
ThisGameObjectIsTheFirstHit bool
Update void
UpdateDrag void
UpdateNearestNode void
UpdatePlanning void

공개 메소드들

메소드 설명
SetCurrentNode ( Vector3 position ) : void
StopDrag ( ) : void

비공개 메소드들

메소드 설명
Awake ( ) : void
CandidatePositionCanBeFixed ( Vector3 &candidatePosition, Vector3 dragStep ) : bool
CheckMapObjectCondition ( ) : void
CheckMouseInput ( ) : void
CheckTouchInput ( ) : void
DebugDragDirection ( ) : void
DebugHitFloor ( bool hitFloor, Vector3 rayStartPoint ) : void
DebugTouchInput ( ) : void
EnlargeColliderSize ( ) : void
GetInputPosition ( ) : Vector3
GetNearestMapObject ( ) : MapObject
GetTheFirstGameObject ( RaycastHit raycastHits ) : GameObject
HitFloorAtPosition ( Vector3 position ) : bool
IsAllowedToStartANewDrag ( ) : bool
ItWillHitAnotherTotem ( Vector3 newDragPosition ) : bool
OnCollisionEnter ( Collision collision ) : void
OnDestroy ( ) : void
OnGUI ( ) : void
PlayCollideSound ( ) : void
ProcessMapObjectCollision ( MapObject nearestMapObject ) : void
RestoreColliderSize ( ) : void
SetNewLauncher ( MapObject newLauncher ) : void
Snap ( ) : void
Start ( ) : void
StartDrag ( ) : void
StickToLauncher ( MapObject stickyLauncher ) : void
ThisGameObjectIsTheFirstHit ( RaycastHit raycastHits ) : bool
Update ( ) : void
UpdateDrag ( ) : void
UpdateNearestNode ( ) : void
UpdatePlanning ( ) : void

메소드 상세

SetCurrentNode() 공개 메소드

public SetCurrentNode ( Vector3 position ) : void
position Vector3
리턴 void

StopDrag() 공개 메소드

public StopDrag ( ) : void
리턴 void

프로퍼티 상세

OnLauncherTouched 공개적으로 프로퍼티

public OnLauncherTouched OnLauncherTouched
리턴 OnLauncherTouched

OnNodeUpdated 공개적으로 프로퍼티

public Action,System OnNodeUpdated
리턴 System.Action

OnObjectDragged 공개적으로 프로퍼티

public OnObjectDragged OnObjectDragged
리턴 OnObjectDragged

OnObjectStopDrag 공개적으로 프로퍼티

public Action,System OnObjectStopDrag
리턴 System.Action

OnSnap 공개적으로 프로퍼티

public Action,System OnSnap
리턴 System.Action