示例#1
0
 override protected void shouldAnimate(bool b)
 {
     if (downTime <= Time.time && bm.IsFiring())
     {
         bm.Off();
         att[2] *= 3;
     }
 }
示例#2
0
 override protected void init()
 {
     bm = gun.GetChild(1).GetComponent <BeamManager>();
     bm.Off();
 }