Tagged Questions
3
votes
2answers
67 views
Playing different particle effects in Unity on the same ParticleSystem
The question really sums it up: What is the best way to use one particle system for playing different particle effects?
The scenario: GameObject is picked up and it starts playing a simple indicator ...
-4
votes
1answer
67 views
Adavanced AI with waypoint system [closed]
I'm just asking for an AI script. What I pretty much need it to do is to allow the enemy to patrol an area, and once the player hits its aggro bar, it will chase him/her until the player runs away; ...
2
votes
3answers
140 views
InputManager in Unity
I´m having a rough time trying to figure out a proper way of dealing with key mapping and key bindings in unity.
The built-in unity input manager is useless to me since it doesnt support key mapping ...
0
votes
1answer
157 views
A good approach on working on player controller for movable platforms?
I have got my player controlling working out decent enough, except with mediocre animation controller for the player, but oh well. All I have done so far is basic input: move, run, jump, multi-jump. ...
0
votes
0answers
99 views
Trying to optimize a plane in Unity [closed]
So unity provides gameobject creation of a plane which contains a lot of triangles Unity calculates which is really unneeded for a simple plane. I was following a tutorial on how to do this, but I am ...
2
votes
1answer
126 views
How can I instantiate my variables in Boo?
I have a Player Attributes class:
import UnityEngine
class Stat ():
public current as int
public max as int
class PlayerAttributes ( MonoBehaviour ):
public Name as ...
1
vote
1answer
352 views
Scene graph in Unity3D
I was wondering if any scene graph-like mechanism is implemented into Unity3D? For example if I have a GameObject, can I add child cubes to it so when I rotate the parent GameObject, the siblings will ...
1
vote
2answers
636 views
Where to attach global scripts in Unity?
As far as Iknow in Unity, every script must be attached to an object. But what is the case with global scripts? For example in a tetris-like game to which object should I attach the element spawner ...
1
vote
2answers
219 views
Unity gizmos vs. referenced game objects
I'm designing a Unity script that I intend to be highly reusable and as easy as possible to setup within the editor. To this end, a number of properties of this script really need some kind of visual ...
3
votes
0answers
358 views
Any recommended books/resources on component-based design?
I come from a background with heavy use of the classical object-oriented paradigm for software development.
The company I am a part of switched to Unity not too long ago, and we're all very excited ...
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 ...
2
votes
1answer
579 views
Changing properties for multiple objects in unity 3d free?
So my team and I need to assign values to specific values in the inspector to large numbers of objects.
For example, we have a script that's assigned to all the walls, and all the floors.
We want to ...
16
votes
9answers
6k views
I prefer C/C++ over Unity and other tools: is it such a big downer for a game developer?
We have a big game project using Unity at school. There are 12 of us working on it. My teacher seems to be convinced it's an important tool to teach students, since it makes students look from the ...