RealWorldTerrainPackageManager.cs 844 B

12345678910111213141516171819202122232425
  1. /* INFINITY CODE 2013-2019 */
  2. /* http://www.infinity-code.com */
  3. using UnityEditor;
  4. namespace InfinityCode.RealWorldTerrain
  5. {
  6. public static class RealWorldTerrainPackageManager
  7. {
  8. [MenuItem("Window/Infinity Code/Real World Terrain/Packages/Playmaker Integration Kit")]
  9. public static void ImportPlayMakerIntegrationKit()
  10. {
  11. RealWorldTerrainEditorUtils.ImportPackage("Packages\\RWT-Playmaker-Integration-Kit.unitypackage",
  12. new RealWorldTerrainEditorUtils.Warning
  13. {
  14. title = "Playmaker Integration Kit",
  15. message = "You have Playmaker in your project?",
  16. ok = "Yes, I have a Playmaker"
  17. },
  18. "Could not find Playmaker Integration Kit."
  19. );
  20. }
  21. }
  22. }