Skip to content

Commit

Permalink
fix a bug where scriptable objects wont initialize on non-windows sys…
Browse files Browse the repository at this point in the history
…tems
  • Loading branch information
brnkhy committed Nov 6, 2016
1 parent 33e782b commit f497dc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/MapzenGo/Models/Settings/Editor/HelperExtention.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace MapzenGo.Models.Settings.Editor
{
public class HelperExtention : MonoBehaviour {

#if UNITY_EDITOR_WIN

public static void GetOrCreateSObject<T>(ref T scriptebleObject, string pathSaveScriptableObject,string nameScriptableObject, Action action = null) where T : ScriptableObject
{
var path = pathSaveScriptableObject + nameScriptableObject;
Expand Down Expand Up @@ -49,7 +49,7 @@ public static T GetOrCreateSObjectReturn<T>(ref T scriptebleObject, string pathS
}
return scriptebleObject;
}
#endif


public static Type[] CreateScriptableObject(Type TypeSeach)
{
Expand Down

0 comments on commit f497dc5

Please sign in to comment.