C# Class ctac.CardCanvasHelperView

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: dshook/centauri-tac Class Usage Examples

Public Methods

Method Description
MouseToWorld ( float z ) : Vector3
ViewportToWorld ( Vector3 viewportPoint ) : Vector3
WorldToScreenPoint ( Vector3 position ) : Vector3
WorldToViewportPoint ( Vector3 position ) : Vector3

Private Methods

Method Description
Start ( ) : void

Method Details

MouseToWorld() public method

public MouseToWorld ( float z ) : Vector3
z float
return UnityEngine.Vector3

ViewportToWorld() public method

public ViewportToWorld ( Vector3 viewportPoint ) : Vector3
viewportPoint UnityEngine.Vector3
return UnityEngine.Vector3

WorldToScreenPoint() public method

public WorldToScreenPoint ( Vector3 position ) : Vector3
position UnityEngine.Vector3
return UnityEngine.Vector3

WorldToViewportPoint() public method

public WorldToViewportPoint ( Vector3 position ) : Vector3
position UnityEngine.Vector3
return UnityEngine.Vector3