public var touchCount : int;
function Update()
{
if (touchCount >= 4)
renderer.material.color = Color.red;
if (touchCount < 4)
renderer.material.color = Color.gray;
}
function OnCollisionEnter ()
{
touchCount + 1;
Debug.Log ("+ 1");
}
function OnCollisionExit ()
{
touchCount - 1;
Debug.Log ("- 1");
}