nameID | The name ID of the property retrieved by Shader.PropertyToID. |
name | The name of the property. |
This method is deprecated. Use GetGlobalFloat or GetGlobalInteger instead.
Calling this method is equivalent to calling GetGlobalFloat and casting the returned value to integer. Additional resources: GetGlobalFloat, GetGlobalInteger.