2018年11月4日 星期日

20181104 測試測試

文章測試 主題測試
Pretty code test
Void OnCollisionEnter(Collision Info){
 if(Info.gameObject.tag == "bullet"){
  //如果被子彈射到的物件hp > 0
  if(hp > 0){
  // 則扣hp
  hp--;
  }else{
  //否則 隱藏物件
  gameObject.SetActive(false);
  }
 }
}



pre linenums prettyprint

The class linenums:40 makes line numbering start at line 40 if you're excerpting a larger chunk of code. The following also works:

?prettify linenums=40?
pre /pre