public void SetType(BulletBase _type) { bulletType = _type; this.gameObject.GetComponent <Renderer>().material.color = bulletType.GetColor(); }