-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from peeweek/refactor/release-oop
Road to 2.0.0
- Loading branch information
Showing
24 changed files
with
1,413 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using UnityEngine; | ||
using System; | ||
|
||
namespace BuildFrontend | ||
{ | ||
public abstract class BuildProcessor: ScriptableObject | ||
{ | ||
public abstract bool OnPreProcess(BuildTemplate template, bool wantRun); | ||
public abstract bool OnPostProcess(BuildTemplate template, bool wantRun); | ||
} | ||
|
||
public class BuildProcessorException: Exception | ||
{ | ||
public BuildProcessor processor; | ||
public BuildTemplate template; | ||
public BuildProcessorException(BuildProcessor p, BuildTemplate t) | ||
{ | ||
processor = p; | ||
template = t; | ||
} | ||
} | ||
} | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
using UnityEditor; | ||
using UnityEditor.Build.Reporting; | ||
|
||
public class BuildProfile : BuildFrontendAssetBase | ||
namespace BuildFrontend | ||
{ | ||
[Header("Build Profile")] | ||
public bool DevPlayer; | ||
public BuildTarget Target; | ||
public class BuildProfile : BuildFrontendAssetBase | ||
{ | ||
[Header("Build Profile")] | ||
public bool DevPlayer; | ||
public BuildTarget Target; | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.