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

            return(action);
        }