ScoreChangeData.cs 345 B

12345678910111213141516171819202122
  1. using UnityEngine;
  2. public class ScoreChangeData
  3. {
  4. public enum Source
  5. {
  6. CondomDispenser,
  7. Enemy
  8. }
  9. public Source source;
  10. public int scoreDelta;
  11. public Vector3 position;
  12. public ScoreChangeData(Source source, int scoreDelta, Vector3 position)
  13. {
  14. this.source = source;
  15. this.scoreDelta = scoreDelta;
  16. this.position = position;
  17. }
  18. }