Upon the receipt of proper proof (1) of the death of any officer or employee in State service, who, had he lived and had he become incapacitated for service to the State, would have been eligible to retire upon pension pursuant to the provisions of chapter 5 of Title 43 of the Revised Statutes, or (2) of the death of any officer or employee, who shall hereafter have retired or be retired upon pension under said chapter by the State House Commission, said commission shall cause to be paid to such person, if living, as said officer or employee shall have nominated by written designation duly executed and filed in the office of the Director of the Division of Budget and Accounting in the Department of the Treasury, otherwise to the executor or administrator of said officer's or employee's estate, a sum equal to the amount which was payable as salary or compensation to said officer or employee during his last full year of service and said amount shall be paid out of the general funds of the State Treasury accordingly.
N.J.S. § 43:5-5