Quantcast
Channel: Latest Questions by aadithyabk
Browsing all 22 articles
Browse latest View live

Null exception when trying to enable scripts

I have to two scripts Movement and ChangeControl. I am trying to enable and disable Movement.cs from ChangeControl.cs when LeftShift or RightShift is presses. When I press the key, I get a runtime null...

View Article



Current audio file being used by the clip

is there anyway to get the name of the audio file that is currently being played by a particular audio source ?

View Article

Accessing animation events from C# script

I have an animation fbx which has events added to it. I'm developing a tool and I need to check if this fbx has animation events in it or not. So is there a way to access this info without...

View Article

Highlighting the folders in the path to prefab

I have developed a tool that scans through all the prefabs and checks if it has the required components and stuff. If the prefab is missing something, I'll display its name using a GUILayout.TextField....

View Article

Warping GUILayout.Buttons to the next line

I am developing a unity tool and I have about six buttons in one row. But as the window size decreases, I want to start putting the buttons into the next row. Like how text automatically goes to next...

View Article


Detecting GUI window close

Is there a way to detect when a GUI window has been closed ? I am building an editor tool and I need to perform some actions after the window has been closed. Ideally, if there is a callback or event...

View Article

Detecting if Android/iOS device is already playing music

I want to stop the in-game music if the user is already playing some music when the game is launched. Is there a way to detect if music is being played already on the deivce? Thanks!

View Article

Detecting device music on unity

I wrote a native android plugin to detect if the device is playing something when the game starts. But I think what Unity does is that it acquires the speakers when application is started and this...

View Article


Changing clips using mixer snapshots

Is it possible to change audio clips using snapshots ? I want to have a transition between two different audio clips. I know snapshots can be used to have a transition between different effects but is...

View Article


Changing the volume curve of dynamically added AudioSource

I am adding an audio source to a game object from code and I want to manipulate the custom volume curve of that audio source. I know I can switch between different types of curves but I want change the...

View Article

Same audio mixer for multiple AudioSource

Hey! I am creating an audio source from code and I want to assign audio mixers for these sources. I have created an audio mixer and I am also able to assign to each source. But since multiple audio...

View Article

Null exception when trying to enable scripts

I have to two scripts Movement and ChangeControl. I am trying to enable and disable Movement.cs from ChangeControl.cs when LeftShift or RightShift is presses. When I press the key, I get a runtime null...

View Article

Current audio file being used by the clip

is there anyway to get the name of the audio file that is currently being played by a particular audio source ?

View Article


Accessing animation events from C# script

I have an animation fbx which has events added to it. I'm developing a tool and I need to check if this fbx has animation events in it or not. So is there a way to access this info without...

View Article

Highlighting the folders in the path to prefab

I have developed a tool that scans through all the prefabs and checks if it has the required components and stuff. If the prefab is missing something, I'll display its name using a GUILayout.TextField....

View Article


Warping GUILayout.Buttons to the next line

I am developing a unity tool and I have about six buttons in one row. But as the window size decreases, I want to start putting the buttons into the next row. Like how text automatically goes to next...

View Article

Detecting GUI window close

Is there a way to detect when a GUI window has been closed ? I am building an editor tool and I need to perform some actions after the window has been closed. Ideally, if there is a callback or event...

View Article


Detecting if Android/iOS device is already playing music

I want to stop the in-game music if the user is already playing some music when the game is launched. Is there a way to detect if music is being played already on the deivce? Thanks!

View Article

Detecting device music on unity

I wrote a native android plugin to detect if the device is playing something when the game starts. But I think what Unity does is that it acquires the speakers when application is started and this...

View Article

Changing clips using mixer snapshots

Is it possible to change audio clips using snapshots ? I want to have a transition between two different audio clips. I know snapshots can be used to have a transition between different effects but is...

View Article
Browsing all 22 articles
Browse latest View live




Latest Images