|
@@ -11,8 +11,11 @@ namespace GFGGame
|
|
|
|
|
|
public static void Start()
|
|
public static void Start()
|
|
{
|
|
{
|
|
- GFGAsset.Load<Shader>(ResPathUtil.GetShaderPath("Effect_distortion_add"));
|
|
|
|
|
|
+ var shader1 = GFGAsset.Load<Shader>(ResPathUtil.GetShaderPath("Effect_distortion_add"));
|
|
|
|
+ Log.Warning($"shader1 null {shader1 == null}");
|
|
GFGAsset.Load<Shader>(ResPathUtil.GetShaderPath("Effect_distortion_blend"));
|
|
GFGAsset.Load<Shader>(ResPathUtil.GetShaderPath("Effect_distortion_blend"));
|
|
|
|
+ var shader2 = Shader.Find("Effect_distortion_add");
|
|
|
|
+ Log.Warning($"shader2 null {shader2 == null}");
|
|
//界面
|
|
//界面
|
|
ViewManager.Init();
|
|
ViewManager.Init();
|
|
//日志
|
|
//日志
|