Table of Contents

ProcessFile Method

ProcessFile(string, bool, bool) Deprecated

[Obsolete("use USGUtility.ForceGenerateByType() instead.")]
public static bool ProcessFile(string assetsRelPath, bool ignoreOverwriteSettingOnAttribute, bool autoRunReferencingEmittersNow = false)

Run specified generator upon request. Designed for use in Unity build event.

Parameters

assetsRelPath string

Path need to be started with "Assets/"

ignoreOverwriteSettingOnAttribute bool
autoRunReferencingEmittersNow bool

Set true to run referencing emitters immediately. For use in build event.

Returns

bool

true if file is written