|
|
@ -50,12 +50,6 @@ namespace Fungus |
|
|
|
AssetDatabase.ExportPackage(folders, path, ExportPackageOptions.Recurse); |
|
|
|
AssetDatabase.ExportPackage(folders, path, ExportPackageOptions.Recurse); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[MenuItem("Tools/Fungus/Utilities/Info Text")] |
|
|
|
|
|
|
|
static void SpawnInfoText() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
SpawnPrefab("InfoText"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static GameObject SpawnPrefab(string prefabName) |
|
|
|
public static GameObject SpawnPrefab(string prefabName) |
|
|
|
{ |
|
|
|
{ |
|
|
|
GameObject prefab = Resources.Load<GameObject>(prefabName); |
|
|
|
GameObject prefab = Resources.Load<GameObject>(prefabName); |
|
|
|