46
Support / Re: Issues with Unity 2018
« on: June 18, 2018, 10:06:06 pm »
I will investigate this.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
using UnityEditor;
using UnityEditor.Build;
using UnityEngine;
class tk2dRebuildIndexPreprocessor : IPreprocessBuild
{
public int callbackOrder { get { return 0; } }
public void OnPreprocessBuild(BuildTarget target, string path)
{
tk2dEditorUtility.RebuildIndex();
}
}