WeaponControls.RotateArm Method

From HeroEditor

Selected arm to position (world space) rotation, with limits.

Namespace: Assets.HeroEditor.Common.CharacterScripts Assembly: Assembly-CSharp (in Assembly-CSharp.dll)

Public Sub RotateArm( _ 
ByVal arm As Transform, _ 
ByVal weapon As Transform, _ 
ByVal target As Vector2, _ 
ByVal angleMin As Single, _ 
ByVal angleMax As Single _ 
)
This language is not supported or no code example is available.
public void RotateArm( 
Transform arm, 
Transform weapon, 
Vector2 target, 
float angleMin, 
float angleMax 
)
This language is not supported or no code example is available.
public:  
void RotateArm( 
Transform^ arm, 
Transform^ weapon, 
Vector2 target, 
float angleMin, 
float angleMax 
)
This language is not supported or no code example is available.
public function RotateArm( 
arm : Transform, 
weapon : Transform, 
target : Vector2, 
angleMin : float, 
angleMax : float 
);
This language is not supported or no code example is available.

Parameters

arm

Type: Transform

weapon

Type: Transform

target

Type: Vector2

angleMin

Type: float

angleMax

Type: float

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1