Example #1
0
 public override void Awake()
 {
     base.Awake();
     Instance = this;
     AddComponent <CombatActionManageComponent>();
 }
Example #2
0
        public T CreateCombatAction <T>() where T : CombatAction, new()
        {
            var action = CombatContext.GetComponent <CombatActionManageComponent>().CreateAction <T>(this);

            return(action);
        }