Quantcast
Browsing all 152 articles
Browse latest View live

Is it better to keep the scenes amount small?

Hello, I'm trying to understand how to setup my game with Unity prefabs and scripts to dynamically spawn several GameObjects. Within from the start menu, one can select different levels, but I want to...

View Article


load 3d model.. edit on runtime and export asset bundle + metadata on runtime

I am using vuforia cloud reco database to save target image and metadata so I want to link an asset bundle to my target image the asset scene will only basically be a 3d model I want to build an...

View Article


How to add a scroll object dynamically in scroll view using NGUI

hai everyone...i am trying to add a scrolling object dynamically to a grid object..dont know how to add a child object to the grid...iam using scrollPanel -scrollView --Grid ----scrollObj1...

View Article

Dynamically Loading asset path issues

Hi guys, I have a problem when trying to change a path to some sprites in unity. My code is: var spritePath : string = "Items\" + itemsList[i]; (ItemsList is a list using Unity generics and...

View Article

Networking: How to spawn dynamically created objects

Hi all, Starting my first foray into networking. Been programming a long time, but would like to create a multiplayer game. So far, I understand the concept of creating prefabs and registering them...

View Article


Run-time generated AnimationClips leaking

I currently create AnimationClips dynamically while my game is running to move some pieces around. You can see what I mean here: [https://youtu.be/u1My9JX4K-c?t=8s][1] , when the pieces get grouped...

View Article

unity webgl, angular js directive,

So I am trying to use an angularjs directive to load a unity webgl game. I have it working but on reload it bombs out, my guess is that b/c I dynamically loaded 'UnityLoader.js' and then tried to...

View Article

Can i fill a dropdown with data from a database or a Json file?

I need to dynamically fill a dropdown at unity, i can get the information from a database or a Json file(I just know how to fill a dropdown manually at the dropdown's component). Is there a way to do it?

View Article


How do i make a dropdown via script(not using the new UI)

Hello, i'm working on an app witch will hame a few dropdown menus, however, using the new UI i couldn't find a way to fill it dynamically. In order to fill it correctly i wanted o create the dropdown...

View Article


Different soundfiles for different velocities - best approach?

Hi all, I have sounds of a kite, recorded at different velocities (slow, moderate, fast) and want to match those with my realtime velocity input. My plan was to attatch 3 audio sources to the object,...

View Article

dynamic object constructions

I have a image of a straight line and i want to place a cuboid along the path of this line is it possible to achieve this? how can I do this?

View Article

create objects by script and fill them into array

hi all, quite new to c# and struggling to create an array objects, I can use later on in my code. right now I'm doing this: public Light light0; public Light light1; void Start() { lightArr = new...

View Article

NGUI: Dynmaically change following elements postions on collapse/expand of...

Hi community, i've got a question about the new unity ui (introduced with unity 4.6). I'm trying to build a more complex ui window were some elements have additional options that can be folded out and...

View Article


Load font at runtime

Hi ! I'm making an app that must load it's font from a file situated in it's directory (at runtime) , so anyone can change the .ttf font file - , anyway , can this be made ? and if we can't , is...

View Article

Dynamically Loading Unity Content Without Publishing App Store Update

Hello, My client requires to load new Unity content dynamically, at runtime, without publishing an update to the app store. Is this possible? If so, is there sample code? Thanks.

View Article


Android Game / New Cube > Pink

I made an android game with Unity 5. I placed somewhere a button that creates a new cube when I press it. When I play the game from my laptop the cube has yellow color ( it's ok ). When I run it from...

View Article

Scaling dynamic created buttons

Hi, I'm trying to create a dynamic menu in unity but having a problem where my buttons that i create don't scale correctly. I've put Vertical layout group to my panel but it doesn't trigger. Here's a...

View Article


One Texture2D from multiple others

Hi guys!, I've been struggling to find a proper way to create a new Texture2D based on multiple others. The Idea is that I dynamically load up a list of Textures2D form a certain folder (that's done)....

View Article

Problems with dynamically adding and scrolling to Scrollview

Hi! Im trying to increase the capacity (space) in the content of my scrollview, so it can fit more elements than its default element capacity. Im doing the following code beneath, and everything is...

View Article

Is it possible to use Dinamicaly generated characters instead of prefabs...

That's the question, here i have the code where i generate both, Networkmanager and the dinamicaly generated characters. Idealy, i want to have one of this dinamicaly generated characters, but i failed...

View Article
Browsing all 152 articles
Browse latest View live


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