Quantcast
Channel: Latest Questions by Ralp
Browsing all 6 articles
Browse latest View live

Cannot assign assets to variables via inspector: NullReferenceException

Below is what I am trying to do, play a sound and an animation by pressing fire button (previously assigned on input manager). Please note I use C# language: using UnityEngine; using...

View Article


Need help with weapon firing particles

What I need to do is simple: when firing my gun, it emits a prefab particle once, repeating it every fire. Although it looks quite simple, it sounds nearly impossible to not do this without triggering...

View Article


How to do different actions when hovering mouse at each button on GUILayout

I made a button list similar to the one below: GUI.BeginGroup(rect); GUILayout.Button("Level 1"); GUILayout.Button("Level 2"); GUILayout.Button("Level 3"); GUILayout.Button("Level 4"); GUI.EndGroup()...

View Article

Cannot assign assets to variables via inspector: NullReferenceException

Below is what I am trying to do, play a sound and an animation by pressing fire button (previously assigned on input manager). Please note I use C# language: using UnityEngine; using...

View Article

Need help with weapon firing particles

What I need to do is simple: when firing my gun, it emits a prefab particle once, repeating it every fire. Although it looks quite simple, it sounds nearly impossible to not do this without triggering...

View Article


How to do different actions when hovering mouse at each button on GUILayout

I made a button list similar to the one below: GUI.BeginGroup(rect); GUILayout.Button("Level 1"); GUILayout.Button("Level 2"); GUILayout.Button("Level 3"); GUILayout.Button("Level 4"); GUI.EndGroup()...

View Article
Browsing all 6 articles
Browse latest View live


Latest Images