public static void DoPostExcute(ActionLevel actionLevel) { ProcessCfg processCfg = buildOption.ProcessCfg; BuildAction[] actions; if (actionLevel == ActionLevel.Common) { actions = processCfg.CommonActions; } else { actions = processCfg.PlatformActions; } for (int i = actions.Length - 1; i >= 0; i--) { actions[i].PostExcute(buildOption); } }
void OnEnable() { processCfg = target as ProcessCfg; lastTarget = processCfg.Target; BuildActionList(); }