Skip to content

Commit

Permalink
fix #11 : Compile error has occurred in build
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi Sakai committed May 23, 2018
1 parent 8b09edf commit 7f10ccf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Assets/ShinyEffectForUGUI/ShinyEffectForUGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ namespace Coffee.UIExtensions
/// </summary>
[ExecuteInEditMode]
[DisallowMultipleComponent]
public class ShinyEffectForUGUI : BaseMeshEffect, ISerializationCallbackReceiver
public class ShinyEffectForUGUI : BaseMeshEffect
#if UNITY_EDITOR
, ISerializationCallbackReceiver
#endif
{
//################################
// Constant or Static Members.
Expand Down Expand Up @@ -92,6 +95,7 @@ protected override void OnDisable()
base.OnDisable();
}

#if UNITY_EDITOR
public void OnBeforeSerialize()
{
}
Expand Down Expand Up @@ -124,6 +128,7 @@ public static Material GetMaterial(string shaderName)
.OfType<Material>()
.FirstOrDefault(x => x.name == name);
}
#endif

/// <summary>
/// Modifies the mesh.
Expand Down

0 comments on commit 7f10ccf

Please sign in to comment.