Skip to content

Commit

Permalink
exsample
Browse files Browse the repository at this point in the history
  • Loading branch information
leinlin committed Oct 19, 2019
1 parent 6be39f5 commit 0e1e70d
Show file tree
Hide file tree
Showing 446 changed files with 49,434 additions and 0 deletions.
8 changes: 8 additions & 0 deletions LuaProfiler/Exsample/Assets/LuaProfiler.meta

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

8 changes: 8 additions & 0 deletions LuaProfiler/Exsample/Assets/LuaProfiler/Common.meta

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

9 changes: 9 additions & 0 deletions LuaProfiler/Exsample/Assets/LuaProfiler/Common/Setting.meta

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
using UnityEngine;
using UnityEditor;

#if UNITY_EDITOR
namespace MikuLuaProfiler
{
public class LuaDeepProfilerAssetSetting : ScriptableObject
{

#region memeber
public bool isDeepMonoProfiler = false;
public bool isDeepLuaProfiler = false;
public bool isLocal = true;

private static LuaDeepProfilerAssetSetting instance;
public static LuaDeepProfilerAssetSetting Instance
{
get
{
if (instance == null)
{
instance = AssetDatabase.LoadAssetAtPath<LuaDeepProfilerAssetSetting>("Assets/LuaDeepProfilerAssetSetting.asset");
if (instance == null)
{
instance = CreateInstance<LuaDeepProfilerAssetSetting>();
instance.name = "Lua Profiler Integration Settings";
#if UNITY_EDITOR
AssetDatabase.CreateAsset(instance, "Assets/LuaDeepProfilerAssetSetting.asset");
#endif
}
}
return instance;
}
}
#endregion

}
}
#endif

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

Loading

0 comments on commit 0e1e70d

Please sign in to comment.