Quantcast
Channel: Questions in topic: "dynamically"
Browsing all 152 articles
Browse latest View live
↧

Dynamicly create 2D Wind Graphic effects

I would like to recreate a wind effect like [this](http://giphy.com/gifs/26uT3VaSHziTy1eDu) one. the lines would need to be dynamicly created by a script or be part of an particle emitter. Can anyone...

View Article


Adding listeners buttons in for loop

Hello, I tried every solution on the web. I can't get this to work. I tried - Capturing variable locally - Externalizing the for loop into a different function - passing string, objects or int - not...

View Article


How to create a cube in 2d view and scale it based on a point/anchor? Than...

I want to create a cube/wall in 2d view and change its scale from one side based on a pivot or anchor, after that see the cube in 3d view. Here is a youtube link/example of what I want to achieve:...

View Article

Best way to create dynamic text objects with Canvas?

Hi all! I am building a 2D game where I need to dynamically create different kinds of text objects based on what user does and what the gameobjects do in the game. Text objects present points which...

View Article

How to attach monobehaviours loaded from assetbundles to gameobjects, Do I...

For now I am able to load scripts from .bytes files which was converted into textAssets and make it run using reflection but I am writing code to attach scripts by finding GameObjects. How can I make...

View Article


Best way of using animator bools in a script

Hey, sorry if the title is strange, i kinda don't know exactly what to type in as a title. Anyway, i am intrigued. I am working on a mobile game, and i am doing my best to keep everything as smooth and...

View Article

Call method with dynamic name

Hello, I have many methods. void loadRun(){ } void loadJump(){ } I need load this via other method like this: void setAnimation(string n){ n(); } setAnimation("loadRun"); how I can release this on c#?

View Article

get folder path dynamically

Hey there, is there any way to get the correct path of a folder, also if the user moves it to another place? I don't want to save into the `Application.persistentDataPath` . Thanks.

View Article


Find a variable using a string

I want to be able to use a generated string to identify which GameObject the supplied prefab is assigned to in a method. The GameObjects are labelled Prefab1, Prefab2, Prefab3, etc. I have a couple...

View Article


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
Browsing all 152 articles
Browse latest View live


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