// 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); } }
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()); }