Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/Microsoft.Unity.Analyzers/UnityStubs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,11 @@ class Physics
class RequireComponent : Attribute { }
}

namespace UnityEngine.SceneManagement
{
struct Scene { }
}

namespace UnityEngine.EventSystems
{
abstract class UIBehaviour : MonoBehaviour
Expand Down Expand Up @@ -687,6 +692,11 @@ void Reset() { }
}
}

namespace UnityEditor.Build.Content
{
struct SceneImportContext { }
}

namespace UnityEditor.Callbacks
{
class DidReloadScripts : Attribute { }
Expand All @@ -695,7 +705,9 @@ class DidReloadScripts : Attribute { }
namespace UnityEditor
{
using AssetImporters;
using Build.Content;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UIElements;

class AssetDatabase { }
Expand Down Expand Up @@ -766,6 +778,7 @@ void OnPostprocessTexture(Texture2D texture) { }
void OnPostprocessPrefab(GameObject gameObject) { }
void OnPostprocessTexture2DArray(Texture2DArray texture) { }
void OnPostprocessTexture3D(Texture3D texture) { }
void OnProcessScene(Scene scene, SceneImportContext sceneContext) { }

void OnPreprocessAnimation() { }
void OnPreprocessAsset() { }
Expand Down
Loading