// Start is called before the first frame update void Start() { settings = GetComponent <BulletSettings>(); Speed = settings.Speed; }
// Start is called before the first frame update void Start() { settings = GetComponent<BulletSettings>(); timeToLive = settings.TimeToLive; Invoke("DestroyBullet", timeToLive); }
// Start is called before the first frame update void Start() { settings = GetComponent <BulletSettings>(); collision = GetComponent <JCollider>(); collision.SetOnJCollisionEnterHandler(CollisionHandler); }