C# Class EC.Visualization.ItemSnap

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: rygo6/VisualizationFramework-Unity Class Usage Examples

Méthodes publiques

Свойство Type Description
ChildItemList List

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Awake ( ) : void

Method Details

AddItem() public abstract méthode

public abstract AddItem ( Item item ) : void
item Item
Résultat void

AvailableSnap() public abstract méthode

Determines whether this instance can snap the specified item.
public abstract AvailableSnap ( ) : bool
Résultat bool

Awake() protected méthode

protected Awake ( ) : void
Résultat void

ContainsItem() public abstract méthode

Returns if this snap already contains a given item.
public abstract ContainsItem ( Item item ) : bool
item Item Item.
Résultat bool

NearestPoint() public abstract méthode

Nearest Snappable point.
public abstract NearestPoint ( PointerEventData data ) : Vector3
data UnityEngine.EventSystems.PointerEventData Data.
Résultat UnityEngine.Vector3

RemoveItem() public abstract méthode

public abstract RemoveItem ( Item item ) : void
item Item
Résultat void

Snap() public abstract méthode

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

TagMatch() public méthode

public TagMatch ( string tagArray ) : bool
tagArray string
Résultat bool

Property Details

ChildItemList public_oe property

public List ChildItemList
Résultat List