private void GainSexExp(bool organ, ExpSystem expSystem) { if (organ) { expSystem.GainExp(Random.Range(1, 5)); } }
private void OnCollisionEnter(Collision collision) { if (collision.transform.tag == "Player") { ExpSystem.GainExp(1); Destroy(gameObject); } }
public void GainExp(int value) { expSystem.GainExp(value); }