No. The Unity script reference and documentation probably did not have a license that required you to attribute the original source.