Tagged Questions
0
votes
0answers
9 views
Get MonoBehaviour components from Prefab
I need to assign the script values for the following Prefab in Unity 3.5
Monguer_Prefab -Mono Behaviour -Mono Behaviour -Mono Behaviour -Mono Behaviour
All the components have the same name.
I ...
-1
votes
0answers
38 views
Unity game engine javascript pickle [closed]
I want to import my nearly-ready game scene from Blender to Unity. I have my own format to store my data from the game worlds.
I serialised it with Python's pickle module, because I couldn't find (I ...
1
vote
2answers
168 views
Dynamic Textures
I am pretty new to this 3D designing and animating, and as an indie developer I need to do everything on my own
I have created this simple box character And I want to texture it, have looked around ...
2
votes
2answers
128 views
How to make a Unity3d program/plugin and publish it on Asset Store?
I want to make a plugin for Unity3d, like TornadoTwins's FPS Control. How can I do that? I already have Visual Studio 2010 installed.
0
votes
2answers
142 views
Unity - Code is fine in the editor, has error on android
Right. Im running into some weird issue with android unity. I have this bit of code
function OnTriggerStay (other : Collider)
{
if(die.GetComponent(DieScript).sideUp ==6 ...
2
votes
1answer
448 views
Unity3d - setting gameobject position by percentage of view
I am having trouble finding a way to set a gameobject's position with regards to the screen size. I am building a 2d game that I will be putting on iPhone, iPad, and Android. I need to be able to set ...
2
votes
2answers
929 views
Creating an object in javascript with unity (unityscript)
So I have a ton of experience with JavaScript (its what I do for a living) but I am new to unity. I have built a game engine in javascript but now want to move it over to unity. I have been trying to ...
0
votes
0answers
210 views
What languages would be best languages for scripting in Unity? [closed]
My question is what language would be best for scripting in Unity?
I know JavaScript is simple, but powerful. But can JavaScript be used for more 'high-level' programming in Unity.
What are the ...
2
votes
4answers
1k views
Unity: Assigning a key to perform an action in the inspector
I am trying to write a simple piece of code in JavaScript where a button toggles the activation of a shield, by dragging a prefab with Resources.load("ActivateShieldPreFab") and destroying it again ...
1
vote
1answer
414 views
Performing simple network call to retreive JSON in Unity?
I have looked at the network documentation for Unity and most examples seem to be related to networking your game for multiplayer. I am just looking to grab a JSON response from an API for dynamically ...
1
vote
2answers
3k views
Find all Game Objects with an Input string name (not Tag)
I'm trying to mimic FindGameObjectsWithTag with FindGameObjectswithName. I know using tags is faster, but I'm trying create a way to search for objects I spawn with a child object I name on ...
4
votes
1answer
554 views
Unity Deactivating a gameObject
I'm trying to deactivate an GameObject when a certain variable reaches a certain value.
It is an imported FBX and doesnt have a MeshRenderer. I'm trying to stop it now with ...
4
votes
1answer
1k views
Unity MouseWheel weapon change
I am trying to make a simple weapon change in Unity3D. The best way to do this is with the mouse scroll wheel, as far as I can see.
I googled on how to do this and found that I have to use ...
2
votes
2answers
765 views
How can I get my first-person character in Unity to move to a ledge with an animation?
I'm trying to get this to happen:
The character walks up to a large crate, the player presses a button, and an animation starts playing where the character climbs up on to the crate. (all in first ...
11
votes
4answers
2k views
Ledge grab and climb in Unity3D
I just started on a new project. In this project one of the main gameplay mechanics is that you can grab a ledge on certain points in a level and hang on to it.
Now my question, since I've been ...