BattleText.GetScreenPosition C# (CSharp) Method

GetScreenPosition() public method

public GetScreenPosition ( ) : Vector3
return Vector3
    public Vector3 GetScreenPosition()
    {
        Vector3 pos = this.cam.WorldToScreenPoint(this.transform.position);
        pos.y = Screen.height - pos.y;
        return pos;
    }