Ejemplo n.º 1
0
 public DecalInfo(BULLETTYPE type, GameObject obj)
 {
     bulletType = type;
     decal      = obj;
     isActive   = false;
     lifeTime   = 0;
 }
Ejemplo n.º 2
0
 public BulletInfo(BULLETTYPE type, GameObject obj, int hits, bool state, int timer)
 {
     bulletType   = type;
     bullet       = obj;
     numberOfHits = hits;
     isActive     = state;
     dir          = bullet.transform.forward;
     lifeTime     = timer;
 }
Ejemplo n.º 3
0
 public BulletInfo(BULLETTYPE type, GameObject obj)
 {
     bulletType   = type;
     bullet       = obj;
     numberOfHits = 0;
     isActive     = false;
     dir          = bullet.transform.right;
     lifeTime     = 0;
 }