Skip to content
Open
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions Components.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions Components/MaterialDetails.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

namespace handcircus.ResourceCheck
{
internal class MaterialDetails
{
public Material material;

public List<Renderer> FoundInRenderers = new List<Renderer>();
public List<Graphic> FoundInGraphics = new List<Graphic>();
public bool instance = false;
public bool isgui = false;
public bool isSky = false;
}
}
3 changes: 3 additions & 0 deletions Components/MaterialDetails.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions Components/MeshDetails.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System.Collections.Generic;
using UnityEngine;

namespace handcircus.ResourceCheck
{
internal class MeshDetails
{
public Mesh mesh;

public List<MeshFilter> FoundInMeshFilters = new List<MeshFilter>();
public List<SkinnedMeshRenderer> FoundInSkinnedMeshRenderer = new List<SkinnedMeshRenderer>();
public List<GameObject> StaticBatchingEnabled = new List<GameObject>();
public bool instance = false;
}
}
3 changes: 3 additions & 0 deletions Components/MeshDetails.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions Components/MissingGraphic.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using UnityEngine;

namespace handcircus.ResourceCheck
{
internal class MissingGraphic
{
public Transform Object;
public string type;
public string name;
}
}
3 changes: 3 additions & 0 deletions Components/MissingGraphic.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions Components/TextureDetails.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using UnityEngine;
using Object = UnityEngine.Object;

namespace handcircus.ResourceCheck
{
internal class TextureDetails : IEquatable<TextureDetails>
{
public bool isCubeMap;
public int memSizeKB;
public Texture texture;
public TextureFormat format;
public int mipMapCount;
public List<Object> FoundInMaterials = new List<Object>();
public List<Object> FoundInRenderers = new List<Object>();
public List<Object> FoundInAnimators = new List<Object>();
public List<Object> FoundInScripts = new List<Object>();
public List<Object> FoundInGraphics = new List<Object>();
public List<Object> FoundInButtons = new List<Object>();
public bool isSky;
public bool instance;
public bool isgui;

public bool Equals(TextureDetails other)
{
return texture != null && other.texture != null &&
texture.GetNativeTexturePtr() == other.texture.GetNativeTexturePtr();
}

public override int GetHashCode()
{
return (int)texture.GetNativeTexturePtr();
}

public override bool Equals(object obj)
{
return Equals(obj as TextureDetails);
}
}
}
3 changes: 3 additions & 0 deletions Components/TextureDetails.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
7 changes: 7 additions & 0 deletions README.MD.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading