Пример #1
0
 // Use this for initialization
 void Start()
 {
     _current_action = new NeutralAction();
     _current_action.SetDynamicAction(actions_file.Get("NeutralAction"));
     _current_action.SetUp(getBattleObject());
     if (isInBuilder)
     {
         _current_action.setIsInBuilder(true);
     }
 }
Пример #2
0
 public void OnFighterInfoReady(FighterInfo fInfo)
 {
     fighter_info    = fInfo;
     actions_file    = fighter_info.action_file;
     _current_action = new NeutralAction();
     _current_action.SetDynamicAction(actions_file.Get("NeutralAction"));
     if (isInBuilder)
     {
         _current_action.setIsInBuilder(true);
     }
     _current_action.SetUp(getBattleObject());
 }