In this script we are trying to collect items on collision. So far it is not working. It will not update the gameObject but it is recognizing the hit in the debug log.
var honey_num = 0;
function OnControllerColliderHit(hit:ControllerColliderHit)
{
if(hit.gameObject.tag == "honey_gold")
{
//Get the Honey Counter Object
//var honey_counter = GameObject.Find("HoneyCount");
Debug.Log("Zam Gets a HoneyComb");
Destroy(hit.gameObject);
honey_num++;
//honey_counter.gameObject.GUIText.Text = honey_num;
}
}//END FUNCTION ONCONTROLLERCOLLIDERHIT