create a button with name and text for every game object with tag
I have 10 game objects called "marker1" through "marker10". For each of these game objects i want to create a button whose name and text is the same as the name of the game object. I have the following...
View ArticleHow do I show a custom dynamic string instead of the script name of a...
Hi everyone, I'd like to replace the Labels with the script names with custom strings taken from a field inside a script MonoBehaviour. I have a situation where several components from similar classes...
View ArticleFormerlySerializedAs for renaming public methods serialized in UnityEvents
I've got a few public methods which are referenced by UnityEvent instances throughout my scene. I would like to rename those methods without breaking the references in the inspector events. Is this...
View ArticleProblem renaming prefab instance in scene (from custom editor window)
I'm creating a custom editor window where I want to list all Objects in the current scene that has a WayPoint script attached to them. I need all Objects in this list to have unique names because I...
View Articlespecial keys cancel rename on macOs
I'm on mac Os Hight Sierra with Unity 2017.2.0f3 and inc a few days, when I want to rename a gameObject on the hierarchy and press a special key (like MAJ) it cancels my rename. It works fine on the...
View ArticleRenaming the entire project... How to?
I started out with a pretty decent prototype project and now I am spending a lot more time developing it. Now that I have a name for it and everything I want to change the project name but when I try...
View ArticleRenaming the *_Data folder
Hey, does anybody knows if or how to change the data folder? For example if you build your game as "MyGame.exe" there will be a folder called "MyGame_Data", but I want to rename it to... lets say "Data".
View ArticleScripting Issue. Class and File Name
Okay I have a really pain in the ass problem in Unity lately (or ever since I started). Every script I create, once I attach it to say my player, it says "cant add script behaviour ______. The scripts...
View ArticleRenaming files compiled
For example I compile a project and put it "Test.exe" . When compiling the notice that besides Test.exe is the folder Test_Data. How can i rename the folder and files without giving an error ?
View ArticleRenaming a GameObject Clone
spawnObject is just the object to be cloned dragged into a public variable. spawner is a empty gameobejct for where they spawn. Heres the code, inside a incrementing while loop: GameObject clone =...
View ArticleRenaming issue for a waypoint system
Hello- I've been working on a waypoint system and have run into some trouble. The script should move *unit* to *waypoint*, which is then destroyed and *waypoint2* is turned into *waypoint*, and the...
View ArticleRenamed Project folder and POOF! project destroyed
On my way to class to turn in my final project I renamed the project file to the proper naming convention for the class, the greatest mistake I could've made in that moment was not backing up the file....
View ArticleForce Rename of GameObject in Hierarchy
Hi all, I have an editor script that clones an existing GameObject then selects it in the hierarchy. I want to rename the GameObject immediately after selection, mimicing the F2 rename feature. Any way...
View Articlecreate a button with name and text for every game object with tag
I have 10 game objects called "marker1" through "marker10". For each of these game objects i want to create a button whose name and text is the same as the name of the game object. I have the following...
View ArticleHow do I show a custom dynamic string instead of the script name of a...
Hi everyone, I'd like to replace the Labels with the script names with custom strings taken from a field inside a script MonoBehaviour. I have a situation where several components from similar classes...
View ArticleFormerlySerializedAs for renaming public methods serialized in UnityEvents
I've got a few public methods which are referenced by UnityEvent instances throughout my scene. I would like to rename those methods without breaking the references in the inspector events. Is this...
View ArticleProblem renaming prefab instance in scene (from custom editor window)
I'm creating a custom editor window where I want to list all Objects in the current scene that has a WayPoint script attached to them. I need all Objects in this list to have unique names because I...
View Articlespecial keys cancel rename on macOs
I'm on mac Os Hight Sierra with Unity 2017.2.0f3 and inc a few days, when I want to rename a gameObject on the hierarchy and press a special key (like MAJ) it cancels my rename. It works fine on the...
View ArticleRenaming Blendshapes
Hi, I am having trouble getting the name of some new blendshapes to match the name of some old ones. I made the new ones in Maya and can't figure out a way to get rid of the "motion capture" part of...
View ArticleProcedurally renaming Layers
Hi there, I'm automatically managing various layers for various purposes, which change somewhat at times. Would it be possible to rename these layers through a C# script, so that the changed names are...
View Article