Skip to content

Commit

Permalink
Provide a PrefabApplier stub in runtime environments to avoid nullref…
Browse files Browse the repository at this point in the history
… in builds
  • Loading branch information
neilsarkar committed Oct 13, 2020
1 parent e94fa36 commit 929dae9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Runtime/PrefabApplier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,9 @@ public void UpdatePrefabs() {
}
}
}
#else
using UnityEngine;
namespace VioletUI {
public class PrefabApplier : MonoBehaviour {}
}
#endif

0 comments on commit 929dae9

Please sign in to comment.