check distance to gameobject

[ad_1]

check distance to gameobject
/// 
/// Return distance between two points
/// 
/// 
/// 
/// 
public float CheckDistanceTwoPoints(Vector3 target, Vector3 startPos)
{
	return Vector3.Distance(target, startPos);
}

[ad_2]

Please follow and like us:
Content Protection by DMCA.com