slimabob

Untitled

Nov 5th, 2017
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. [CreateAssetMenu(fileName = "Territory", menuName =  "MapAssets/Territory")]
  6. public class Territory : ScriptableObject {
  7.  
  8.     //Backend
  9.     public Color32 color;
  10.     public Vector2 territoryUnitPos;
  11.     public int landSize;
  12.     public Territory parent;
  13.  
  14.     //Frontend
  15.     public string territoryName;
  16.     public string rulingFactionName;
  17.     public int population;
  18.  
  19.     public Territory[] connnectingTerritories;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment