https://github.com/duckboss/nameplacegen-unity
This project/package generates random names/places within a Unity Project. It's useful for NPC names.
https://github.com/duckboss/nameplacegen-unity
randomnameplacegen-unity unity unity-game-engine unity3d
Last synced: 3 months ago
JSON representation
This project/package generates random names/places within a Unity Project. It's useful for NPC names.
- Host: GitHub
- URL: https://github.com/duckboss/nameplacegen-unity
- Owner: DuckBoss
- License: mit
- Created: 2017-02-28T22:38:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-13T12:29:41.000Z (about 7 years ago)
- Last Synced: 2025-01-31T04:02:18.948Z (4 months ago)
- Topics: randomnameplacegen-unity, unity, unity-game-engine, unity3d
- Language: C#
- Homepage: https://duckboss.github.io/NamePlaceGen-Unity/
- Size: 590 KB
- Stars: 8
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RandomNamePlaceGen-Unity
- This project/package generates random names/places within a Unity Project.[](https://github.com/DuckBoss/NamePlaceGen-Unity/releases/latest)
[](https://github.com/DuckBoss/NamePlaceGen-Unity/blob/master/LICENSE)## Installation :
- Open the folder as a project in the Unity Game Engine
OR
- Create a project in the Unity Game Engine and import the included 'RandomNamePlaceGen-Unity.unitypackage'.## Usage :
- Have the 'RandomNameGen' Script present in the scene.
- Generate Male/Female/Other/Place names by calling the public accessible methods in 'RandomNameGen'.
- I HIGHLY RECOMMEND PRE-CACHING THE NAMES YOU WISH TO USE AT RUNTIME FOR PERFORMANCE REASONS## Examples:
```
using UnityEngine;
using JJ_RandomNameGen;
public testClass : Monobehavior {
private RandomNameGen genScript;
private void Start() {
genScript = new RandomNamePlaceGen();
string MaleFirstName = genScript.GenerateFirstNameMale();
string FemaleFirstName = genScript.GenerateFirstNameFemale();
string Place = genScript.GeneratePlace();
}
...
}
```## Extra Information:
------------------------------
- Check the 'Example' folder for a demo scene.
- The script is fully documented.