This file contains hidden or 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
// Put this in an editor folder | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEngine.LowLevel; | |
using UnityEngine.Profiling; |
This file contains hidden or 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
using System.IO; | |
using System.Linq; | |
using UnityEngine; | |
using UnityEditor; | |
using System.Text; | |
using UnityEditor.Experimental; | |
public class AssetSizeEstimation | |
{ | |
private static readonly string[] ExcludeRules = {"com.unity."}; |
This file contains hidden or 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
using UnityEngine; | |
namespace MyApp | |
{ | |
/// <summary> | |
/// the DeviceInfo class is used to collect all technical details to be included in any debug report. | |
/// this class can be easily encoded into JSON by JsonUtility.ToJson(new DeviceInfo()) | |
/// </summary> | |
public class DeviceInfo | |
{ |