Exemplo n.º 1
0
 void setBullet(Bullet pBullet,Vector3 pPos, Vector3 ForwardVelocity)
 {
     pPos.z = 0;
     pBullet.transform.position = pPos;
     pBullet.setLayer(bulletLayer);
     pBullet.setAliveTime(_bulletAliveTime);
     pBullet.setForwardVelocity(ForwardVelocity);
     pBullet.characterInfo = _characterInfo;
     //if (injureInfo != null)
     //{
     //    pBullet.setInjureInfo(injureInfo);
     //}
 }