C# Class TargetRaycast, RPGQuest

Mostrar archivo Open project: hughrogers/RPGQuest Class Usage Examples

Public Properties

Property Type Description
active bool
distance float
ignoreUser bool
layerMask int
mouseTouch MouseTouchControl,
offset Vector3
pathToChild string
pathToTarget string
rayDirection Vector3
rayOrigin TargetRayOrigin
targetOffset Vector3

Public Methods

Method Description
GetAIPoint ( GameObject user, GameObject target ) : Vector3
GetData ( Hashtable ht ) : Hashtable
GetRayPoint ( GameObject user, Vector3 target ) : Vector3
NeedInteraction ( ) : bool
ScreenRayPoint ( Vector3 point ) : Vector3
SetData ( Hashtable ht ) : void
TargetRaycast ( ) : System.Collections
Tick ( ActiveBattleMenu, menu, GameObject user ) : void

Method Details

GetAIPoint() public method

public GetAIPoint ( GameObject user, GameObject target ) : Vector3
user GameObject
target GameObject
return Vector3

GetData() public method

public GetData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable

GetRayPoint() public method

public GetRayPoint ( GameObject user, Vector3 target ) : Vector3
user GameObject
target Vector3
return Vector3

NeedInteraction() public method

public NeedInteraction ( ) : bool
return bool

ScreenRayPoint() public method

public ScreenRayPoint ( Vector3 point ) : Vector3
point Vector3
return Vector3

SetData() public method

public SetData ( Hashtable ht ) : void
ht Hashtable
return void

TargetRaycast() public method

public TargetRaycast ( ) : System.Collections
return System.Collections

Tick() public method

public Tick ( ActiveBattleMenu, menu, GameObject user ) : void
menu ActiveBattleMenu,
user GameObject
return void

Property Details

active public_oe property

public bool active
return bool

distance public_oe property

public float distance
return float

ignoreUser public_oe property

public bool ignoreUser
return bool

layerMask public_oe property

public int layerMask
return int

mouseTouch public_oe property

public MouseTouchControl, mouseTouch
return MouseTouchControl,

offset public_oe property

public Vector3 offset
return Vector3

pathToChild public_oe property

public string pathToChild
return string

pathToTarget public_oe property

public string pathToTarget
return string

rayDirection public_oe property

public Vector3 rayDirection
return Vector3

rayOrigin public_oe property

public TargetRayOrigin rayOrigin
return TargetRayOrigin

targetOffset public_oe property

public Vector3 targetOffset
return Vector3