void OnTriggerEnter(Collider other) { pIndicationControl = (CIndicationControl)other.GetComponent("CIndicationControl"); pIndicationControl.anime = true; CGlobalStatic.CountCurrentPuzzle++; DestroyObject(this.gameObject); }
void OnTriggerEnter(Collider other) { pIndicationControl = (CIndicationControl)other.GetComponent("CIndicationControl"); pIndicationControl.anime = true; CGlobalStatic.CountCurrentPuzzle++; DestroyObject(this.gameObject); }