: error CS0176: Static member `Bullet.PlayerOwnsThisBullet’ cannot be accessed with an instance reference, qualify it with a type name instead
Looked around cant seem to find an answer for this.
void OnCollisionEnter (Collision Coll){
if (Coll.gameObject.tag == "PlayerBullet") {
Hitbyplayer = Coll.gameObject.GetComponent<Bullet> ().PlayerOwnsThisBullet;
// get this nuber to see what player attacked this unit.