12345678910111213141516171819202122 |
- using UnityEngine;
- public class ScoreChangeData
- {
- public enum Source
- {
- CondomDispenser,
- Enemy
- }
- public Source source;
- public int scoreDelta;
- public Vector3 position;
- public ScoreChangeData(Source source, int scoreDelta, Vector3 position)
- {
- this.source = source;
- this.scoreDelta = scoreDelta;
- this.position = position;
- }
- }
|