public static void SetCombatTemplate(E_CombatTemplate _template, EditorConfig _config) { CurrentCombatTemplate = _template; RegisterActions(); RegisterTransitions(); FindAllAnimationClips(); FindAllActions(_config); FindAllTransitions(_config); FindAllAnimationEvents(); }
static OTGEditorUtility() { ActionsAvailable = new List <OTGCombatAction>(); ActionsInstantiated = new List <OTGCombatAction>(); TransitionsAvailable = new List <OTGTransitionDecision>(); TransitionsInstantiated = new List <OTGTransitionDecision>(); AvailableCharacterStates = new List <OTGCombatState>(); AvailableAnimationEvents = new List <OTGAnimationEvent>(); AvailableAnimationClips = new List <string>(); AvailableAnimationClipsFilteredList = new List <string>(); CurrentCombatTemplate = E_CombatTemplate.None; }