Here are the examples of the csharp api MalbersAnimations.Utilities.MalbersTools.DirectionFromCamera(UnityEngine.Transform, UnityEngine.Vector3, out UnityEngine.RaycastHit, UnityEngine.LayerMask) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
View Source File : MalbersTools.cs
License : MIT License
Project Creator : Interactml
License : MIT License
Project Creator : Interactml
public static Vector3 DirectionFromCamera(Transform origin, Vector3 ScreenCenter)
{
RaycastHit p;
return DirectionFromCamera(origin, ScreenCenter, out p, -1);
}