Exemplo n.º 1
0
 public static void SetCombatTemplate(E_CombatTemplate _template, EditorConfig _config)
 {
     CurrentCombatTemplate = _template;
     RegisterActions();
     RegisterTransitions();
     FindAllAnimationClips();
     FindAllActions(_config);
     FindAllTransitions(_config);
     FindAllAnimationEvents();
 }
Exemplo n.º 2
0
 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;
 }