Quantcast
Channel: Questions in topic: "scripteditor"
Browsing all 93 articles
Browse latest View live
↧

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


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


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

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

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 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

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

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


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


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

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

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

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

Browsing all 93 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>