'currentCamera' is set during event processing. I'm guessing it's 'null' in your case to begin with. You can only use 'current' series of properties inside NGUI event notifications. You can't use them outside them (like in your update).
Just do a gameObject.GetComponent<UICamera>() instead, and make sure the script is actually attached to the same object as the UICamera you are trying to modify.