C# Class CameraBuddy.Helpers

Mostrar archivo Open project: coman3/EloBuddy.Addons

Public Methods

Method Description
AveragePosition ( this entitys ) : Vector3
MaxDistance ( this entitys, Vector3 basePos, GameObject &furthestEntity ) : float
OffsetTowardHero ( this pos, GameObject gameObject, float distance = 10 ) : Vector3

Method Details

AveragePosition() public static method

public static AveragePosition ( this entitys ) : Vector3
entitys this
return Vector3

MaxDistance() public static method

public static MaxDistance ( this entitys, Vector3 basePos, GameObject &furthestEntity ) : float
entitys this
basePos Vector3
furthestEntity CameraBuddy.Game.GameObject
return float

OffsetTowardHero() public static method

public static OffsetTowardHero ( this pos, GameObject gameObject, float distance = 10 ) : Vector3
pos this
gameObject CameraBuddy.Game.GameObject
distance float
return Vector3