title: "Identifier Expected" error?
body: <pre><code>using UnityEngine;
  using System.Collections;
  
  public class Sword : MonoBehaviour {
  
  var totalhealth = 100;
  
      function OnTriggerEnter(other : Collider){
          if(other.tag == "angelic_sword_02"){
              totalhealth -= 50;
          }
      }
  
      function Update(){
          if(totalhealth &lt;= 0){
              Destroy(gameObject);
          }
      }
  }
  </code></pre>
  
  <p>I get an "Identifier Expected" in the script where it says in the line </p>
  
  <pre><code>function OnTriggerEnter(other : Collider) {
  </code></pre>
  
  <p>Any help please?</p>