forked from MattRix/UnityDecompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDefaultBuildPostprocessor.cs
More file actions
49 lines (41 loc) · 996 Bytes
/
Copy pathDefaultBuildPostprocessor.cs
File metadata and controls
49 lines (41 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using System;
namespace UnityEditor.Modules
{
internal abstract class DefaultBuildPostprocessor : IBuildPostprocessor
{
public virtual void LaunchPlayer(BuildLaunchPlayerArgs args)
{
throw new NotSupportedException();
}
public virtual void PostProcess(BuildPostProcessArgs args)
{
}
public virtual bool SupportsInstallInBuildFolder()
{
return false;
}
public virtual void PostProcessScriptsOnly(BuildPostProcessArgs args)
{
if (!this.SupportsScriptsOnlyBuild())
{
throw new NotSupportedException();
}
}
public virtual bool SupportsScriptsOnlyBuild()
{
return false;
}
public virtual string GetScriptLayoutFileFromBuild(BuildOptions options, string installPath, string fileName)
{
return string.Empty;
}
public virtual string PrepareForBuild(BuildOptions options, BuildTarget target)
{
return null;
}
public virtual string GetExtension(BuildTarget target, BuildOptions options)
{
return string.Empty;
}
}
}