Skip to main content

All Questions

0 votes
0 answers
13 views

Forward and Backward movement Visual Scripting not working together

I have an issue while working with visual scripts, I'm learning it and new to it so when I created the forward and backward movement in the visual scripts it is working separately but not together as ...
nateTheGreat's user avatar
1 vote
2 answers
42 views

Camera Won't Shake When Enemy Attacked

I want my camera shake when isDamaging = true at EnemyDamage script but It wont happent I dont even get why theres a problem with that stuff it doesnt make sense its looking like %100 true when I ...
ybay's user avatar
  • 11
0 votes
1 answer
26 views

How do I make a different interval for the appearance of balls?

using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnManagerX : MonoBehaviour { public GameObject[] ballPrefabs; private float spawnLimitXLeft = -...
Юлиан's user avatar
0 votes
1 answer
45 views

Why is the player not moving with a moving platform in unity?

If I am running the game in build mode, and when I jump onto the platform, the player moves along with it. But whenever the player dies and goes inactive, resets position and goes active again, it ...
Ooblue365's user avatar
-2 votes
0 answers
26 views

How to destroy a tile gradually unity

Im working on an AR enless runner game by locking the runner's position and let the tile moving backward https://www.youtube.com/watch?v=hMczM8i9qDQ Im expecting to fade out the part of tile that has ...
Châu Đặng's user avatar
0 votes
0 answers
30 views

Play Games Platform works development build but don't works release built

encountered an error in a game I've been working on for a long time, and unfortunately the solutions I searched on "Google" didn't work or I couldn't manage it. about the problem; The game ...
Hasan Alkan's user avatar
1 vote
0 answers
19 views

unity android swipe controller script is correct but not working

first of all, sorry my english. I made a game in the style of endless run and the character can swipe left and right and jump in the game. The game works fine in the editor, but when I run it on ...
yiğit kıy's user avatar
0 votes
1 answer
39 views

What is the correct syntax to use LINQ SUM in UnityScript

Hello I'm trying to figure out the correct syntax for getting the sum from a class list using LINQ in unityscript var totalCount: int; class munsters { var beast: String; var min: int = 1; var max:...
Jenna Jones's user avatar
-2 votes
1 answer
281 views

MissingMethodException : UnityEngine.GameObject.setActive [closed]

I have added the below script to the NPC. on clicking on to the NPC the MessageBox (Panel in Canvas) should appear. But the MessageBox.setActive() part is not working. Below is the code. import ...
Shubhro's user avatar
  • 75
2 votes
1 answer
2k views

Why is it SO Hard to Just Mute a Sound in Unity?

I have spent all day looking for a solution to this problem, and I simply can't find one. Using JavaScript in Unity 3D, I have a script where I want to play a sound when the player's velocity on the X ...
user avatar
0 votes
1 answer
79 views

Unity Javascript transform object not able to go in

var Distance; var Target = transform; var lookAtDistance = 25.0; var attackRange = 15.0; var moveSpeed = 5.0; var Damping = 6.0; function Update () { Distance = Vector3.Distance(Target.position, ...
Jon Bergeron's user avatar
0 votes
1 answer
959 views

Unity How to turn off a gameObject's Mesh Collider when a collison on another object is done?

On my unity project I have encountered a problem I want to collide with an object then I want to turn on the mesh collider of an other gameObject this is my code now... #pragma strict private var ...
HawkSP's user avatar
  • 33
0 votes
0 answers
37 views

Unity3D: How would I go by saving a list/ array of strings/ objects/ prefabs? [duplicate]

For my game in Unity 2017.2, I am trying to save the prefabs that I just bought in the games store (not IAP) and load them to a garage type scene. I was first thinking I could get the name of the ...
WokerHead's user avatar
  • 947
0 votes
1 answer
722 views

Teleporting Character From Edge to Edge of the Screen

I am trying to Teleport a character from a Edge of the screen to the contrary edge I'm using this: var pos: Vector3 = Camera.main.WorldToViewportPoint(transform.position); if (pos.x < 0.0) ...
Simpson G.'s user avatar
1 vote
2 answers
9k views

How can I switch between shaders in real time?

The problem is that I have two shaders. If I change between the shaders while the game is running it will not take effect. Only if I start the game with a current shader it will use the shader but not ...
Daniel Lip's user avatar
  • 11.2k

15 30 50 per page
1
2 3 4 5
101