Quantcast
Channel: Latest Questions by Meriodoc
Browsing all 20 articles
Browse latest View live

How to apply more than one trigger on a single gamebject

I'm wanting to add more than one trigger on a single game object in different areas of the prefab. Should i use 3 box colliders? Can it be done? Please give me guidance regarding this. I have run into...

View Article



How do i pass a value from a javascript to a c# script

I would really appreciate it if someone can assist me with this. My playerScript is in javascript. When player scores, I would like to pass the score to a C# script...that can then update my high...

View Article

How can i prevent a user from clicking morethan once on an instance of a...

How can i prevent a user from clicking and scoring twice on a given game object (prefab) that is busy being spawned. Im using tags. Im new to unity..So it's a bit like validation i suppose. At the...

View Article

suspending gameplay with a yield coroutine

var enemySpeed :float; function Update () { amtToMove = enemySpeed * Time.deltaTime; StartCoroutine("Wait"); transform.Translate(Vector3.down * amtToMove); if(transform.position.y

View Article

Animation mecanim state

Hi all. How do I incorporate a rotating animation to an animation. Example: I have a fish swimming(animating) across the screen. At any given point of it's movement state...when clicked on...I need it...

View Article


Macanim Mouse Buttons interaction c#

How can I make this work. I have set up 4 states in animator default being idle. I want the clicks to only work on this object...not on the others in the scene. So I figured TAGS? Please point me in...

View Article

How to prevent more mouse clicks that trigger sound.

My problem is that when i click on an object multiple times the sound just keeps repeating/echoing. How can i set the co-routine or function to wait until clip and animation is finished playing before...

View Article

How to use a parent object in it's child object animation

When creating an animation (Child Object)...i want to include movement in the parent Object as part of the child object's animation. Is this possible with Mecanim?

View Article


Has anyone tried writing a non-game android app using unity with backend etc?

I'm thinking of writing a proper business (android) app using unity (Java script)...OR will I be wasting my time...Just a thought?

View Article


How to get animations to be available for different objects?

Hi. I'm hoping that someone will be able to help me here. I have a **parent** object with two child objects tossing(onclick) a THIRD object between them. How can i make the THIRD object a child of both...

View Article

How to apply more than one trigger on a single gamebject

I'm wanting to add more than one trigger on a single game object in different areas of the prefab. Should i use 3 box colliders? Can it be done? Please give me guidance regarding this. I have run into...

View Article

How do i pass a value from a javascript to a c# script

I would really appreciate it if someone can assist me with this. My playerScript is in javascript. When player scores, I would like to pass the score to a C# script...that can then update my high...

View Article

How can i prevent a user from clicking morethan once on an instance of a...

How can i prevent a user from clicking and scoring twice on a given game object (prefab) that is busy being spawned. Im using tags. Im new to unity..So it's a bit like validation i suppose. At the...

View Article


suspending gameplay with a yield coroutine

var enemySpeed :float; function Update () { amtToMove = enemySpeed * Time.deltaTime; StartCoroutine("Wait"); transform.Translate(Vector3.down * amtToMove); if(transform.position.y

View Article

Animation mecanim state

Hi all. How do I incorporate a rotating animation to an animation. Example: I have a fish swimming(animating) across the screen. At any given point of it's movement state...when clicked on...I need it...

View Article


Macanim Mouse Buttons interaction c#

How can I make this work. I have set up 4 states in animator default being idle. I want the clicks to only work on this object...not on the others in the scene. So I figured TAGS? Please point me in...

View Article

How to prevent more mouse clicks that trigger sound.

My problem is that when i click on an object multiple times the sound just keeps repeating/echoing. How can i set the co-routine or function to wait until clip and animation is finished playing before...

View Article


How to use a parent object in it's child object animation

When creating an animation (Child Object)...i want to include movement in the parent Object as part of the child object's animation. Is this possible with Mecanim?

View Article

Has anyone tried writing a non-game android app using unity with backend etc?

I'm thinking of writing a proper business (android) app using unity (Java script)...OR will I be wasting my time...Just a thought?

View Article

How to get animations to be available for different objects?

Hi. I'm hoping that someone will be able to help me here. I have a **parent** object with two child objects tossing(onclick) a THIRD object between them. How can i make the THIRD object a child of both...

View Article
Browsing all 20 articles
Browse latest View live




Latest Images