EnemyJsonObject.cs 336 B

12345678910111213141516171819
  1. using System;
  2. using UnityEngine;
  3. public struct EnemyJsonObject
  4. {
  5. public EnemyJsonObject(string name, Vector2 position, string guid)
  6. {
  7. this.name = name;
  8. this.position.x = position.x;
  9. this.position.y = position.y;
  10. this.guid = guid;
  11. }
  12. public string name;
  13. public Vector2 position;
  14. public string guid;
  15. }