Quantcast
Channel: Questions in topic: "scripteditor"
Browsing index pages (93 articles)

How do I make a transform on a Child (added by script) apply to that Child...

H'lo folks! I hope the day is going well for you. I whipped up a little toy project to (hopefully) make it obvious what I'm trying to ask. What's missing from it so that the circle is the only thing...

View Article


In-game script editing

So, I was wondering if it was possible to have an editor in-game, that when you type up a script in it, then it changes one of the scripts in the unity project itself. for example... in the game on an...

View Article


Is there a way to open a script in the script editor (Mono or VS) from an...

I want to pop up the right file to edit when a user of my soon to release tool selects an editor menu item. The Asset.Edit() seems like it would work but I can't seem to find a way to get a script from...

View Article

Why i don't see the button in the Inspector on debug mode ?

I have this button script: using UnityEngine; using System.Collections; using UnityEditor; [CustomEditor(typeof(LevelMap))] public class CustomButton : Editor { public override void OnInspectorGUI() {...

View Article

Play two animations without using animator

I want to play TWO animations of a helicopter at the same time. As i said, they are two animations: "Helimaster" - Moves my helicopter "Helirotor" - Rotates my helicopter's rotors. I had to make two...

View Article


WaitForSeconds - Shooting Script

I Have a REALLY basic script in C# that basically spawn a bullet, and then move it. (Basically a shoot) It doesn't matter if you click the mouse button as fast as you can, it will not shoot so fast,...

View Article

Enable / Disable Custom scripts with a checkbox

Hello, im working for different scripts inside unity , but y see the unity script like the image, have a checkbox to enable or disable the component without the need of remove the component for debug...

View Article

How can i get Input axis in OnGUI function?

Hi! As I understand Input.GetAxis() does not work in the editor. How can I get input Axis in OnGUI function?

View Article


Ladder Climb script unity 5

Pls help me i need a script for climbing on ladder for unity 5 with a colider .

View Article


How do I save this as prefab?

I have two players. One of them has a script with a "public Transform otherPlayer; " property. In Unity, I've added otherPlayer to the free slot of the FirstPlayerScript and now I want to save the...

View Article

Custom wind and assets?

Hi guys, So I'm working on an environment which is rather still right now and I feel as though introducing wind to my foliage would spark a bit of life into it. There isn't much info around about wind...

View Article

VS 2015 VS 2013 Issue

I have a project that worked fine with VS 2013 and VS Unity Tool. I have a new PC and it has VS 2015. I also installed the latest VS Unity Toolkit. In Unity the preferences External Script Editor is...

View Article

Paste component values not working

When I use copy/paste component values on a normal(not modified with code editor script) it works. When I use them on a script where I've modified it [CustomEditor(typeof (Platform))] public class...

View Article


Monodevelop fatal error on execution

Running Windows 8.1 64bit, Various versions of Unity (preferably 4.6 or later but not 5), Monodevelop version 4.0.1 **Fatal error I receive on startup is as follows:** System.IO.IOException: The file...

View Article

MonoDevelop Not Included In My Unity Download

For some reason, MonoDevelop was not included with my download of Unity 4.6.3, and because of this I've had to use a very poor quality code editor. I tried to download it, but ended up downloading...

View Article


Editor doesn't remember external script editor?

I set gvim to run my scripts with the arguments `--remote-silent +$(Line) "$(File)"` but everytime an assembly reload happens or I exit out/ enter Unity, it resets the script editor to be...

View Article

Using Sublime Text 2 as a script editor on Mac

Hey there, I'm MacOS user. I found this post on Unity3d wiki and tried to make Sublime Text 2 as my main script editor, but then I was stuck at this part: *"Mac OS X: If the previous External Script...

View Article


Script open help?

I made a script called GrappleScript When I try to open it to edit it I get a windows error (see photo)![alt text][1] What is the problem and how can I fix it? [1]: /storage/temp/39660-error.png

View Article

Add stuff to script by default when created

Hello! I want to know how to add stuff to a script when it is created, like the way that scripts always include void `Update () {} void Start () {}` I want to add `if...

View Article

How do i change this script to chase the closest target?

I've been having a lot of trouble on this, this script is on an enemy prefab in my multiplayer game i'm making. I didn't make the script so i'm having some trouble, would anyone be kind enough to edit...

View Article
Browsing index pages (93 articles)


Latest Images