Pro_Unit

Faction Architecture.

Apr 3rd, 2020
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.64 KB | None | 0 0
  1. namespace FlexableAI
  2. {
  3.     using UnityEngine;
  4.  
  5.     [CreateAssetMenu(fileName = "Faction", menuName = "Flexible AI/Faction", order = 0)]
  6.     public class Faction : ScriptableObject
  7.     {
  8.        
  9.     }
  10.  
  11.     [CreateAssetMenu(fileName = "FactionRelationship", menuName = "Flexible AI/FactionRelationship", order = 0)]
  12.     public class FactionRelationship : ScriptableObject
  13.     {
  14.         [SerializeField] private Faction _faction;
  15.         [SerializeField] private FlexableAI.Behaviour _behaviour;
  16.     }
  17.     public abstract class Behaviour : UnityEngine.ScriptableObject
  18.     {
  19.         [UnityEngine.SerializeField] private State _state;
  20.     }
  21.  
  22. }
Add Comment
Please, Sign In to add comment