#pragma strict

public var temptime2 : float;

function Update () {
if(temptime2 > 0.5){
Debug.Log("0.5sec"); //0.5秒超過で実行
}else{
temptime2 += Time.deltaTime;
}
transform.Translate(0,-1 * Time.deltaTime,0); //実験用
}

function OnTriggerEnter(col : Collider){
Debug.Log("Enter"); //表示された
temptime2 = 0.0f;
Debug.Log("temptime2"); //0になっている
}

何かに触れたらリセットするタイマーを作ったけど
上のコメントの通りログ上は問題ないのにInspectorビュー上では
temptime2がリセットされずずっと"0.5sec"のログが表示されます
助けてください> <