C# 클래스 EC.Visualization.ItemSnap

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: rygo6/VisualizationFramework-Unity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ChildItemList List

공개 메소드들

메소드 설명
AddItem ( Item item ) : void
AvailableSnap ( ) : bool

Determines whether this instance can snap the specified item.

ContainsItem ( Item item ) : bool

Returns if this snap already contains a given item.

NearestPoint ( PointerEventData data ) : Vector3

Nearest Snappable point.

RemoveItem ( Item item ) : void
Snap ( Item item, PointerEventData data ) : Ray

Gets the point to snap to.

TagMatch ( string tagArray ) : bool

보호된 메소드들

메소드 설명
Awake ( ) : void

메소드 상세

AddItem() 공개 추상적인 메소드

public abstract AddItem ( Item item ) : void
item Item
리턴 void

AvailableSnap() 공개 추상적인 메소드

Determines whether this instance can snap the specified item.
public abstract AvailableSnap ( ) : bool
리턴 bool

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

ContainsItem() 공개 추상적인 메소드

Returns if this snap already contains a given item.
public abstract ContainsItem ( Item item ) : bool
item Item Item.
리턴 bool

NearestPoint() 공개 추상적인 메소드

Nearest Snappable point.
public abstract NearestPoint ( PointerEventData data ) : Vector3
data UnityEngine.EventSystems.PointerEventData Data.
리턴 UnityEngine.Vector3

RemoveItem() 공개 추상적인 메소드

public abstract RemoveItem ( Item item ) : void
item Item
리턴 void

Snap() 공개 추상적인 메소드

Gets the point to snap to.
public abstract Snap ( Item item, PointerEventData data ) : Ray
item Item
data UnityEngine.EventSystems.PointerEventData
리턴 UnityEngine.Ray

TagMatch() 공개 메소드

public TagMatch ( string tagArray ) : bool
tagArray string
리턴 bool

프로퍼티 상세

ChildItemList 공개적으로 프로퍼티

public List ChildItemList
리턴 List