coding help! BCE0044: expecting ), found '{'.
Hello, I have being coding a script for PlayerStates to my controller has animations when it moves and i have been copying MRxTeaBag from youtubes script and i get errors that he doesn't...
View ArticleDoes Unity Free download allow publishing online?
Does Unity Free download allow publishing online? I mean for example making a facebook game from it or IOS or other. I'm just wondering since I really can't afford to buy premiums of any other program...
View ArticleHeath system need help
So i have a "Main Menu" when you click "play" it takes you to a Level selector Screen with all the levels, and you can click on any level and play it. When u play a Level you have 5 heart's that you go...
View ArticleVariable Adding Error
I'm a total noob at C#. I'm trying to add 1 to a deathcount when someone dies. The dying part works fine, it's not mine my friend wrote it, but I'm trying to mess with it to get this working. Here's...
View ArticleURGENT HELP NEEDED ASAP, TERRAIN PROBLEMS
i am making a horror game about an abandoned asylum, i have made the front garden to the asylum and i used like 100 cubes to make the terrain because i didn't know how to use it well, now i have added...
View ArticleHow do i load my next level?
i wrote out a function so when currentScore == 6 it loads level 2, but it wont do it.why? here's the script: #pragma strict static var currentScore : int = 0; var offsetY : float = 40; var sizeX :...
View ArticleBeginner please help. NullReferenceException: Object reference not set to an...
I'm new at this whole coding thing so I don't know what is wrong here I'm making a simple space shooter game and this is the part where the player life suppose to subtract every time the astriod hit...
View ArticleHow to make the left joystick fully control the movement?
I recently followed a tutorial to create player movement with the joysticks. It took me a while to work it into the game, but I finally managed it. The only problem is that the right stick controls...
View Articleinfinite runner HELP
this is my code but there a 2 problems that wont let me start. the problems are; Assets/Sample Assets/2D/Scripts/PlatformerCharacter2D.cs(90,76): error CS1526: A new expression requires () or [] after...
View ArticleHow to update a script to a network script
Hey, sorry to ask but I'm new at this and while my script works perfectly I've ran into an issue. As such I've made a basic script that creates a prefab object at the ray cast hit location and while it...
View Article[Answered](C#) Unexpected symbol `else' Need Help
Hello everyone. I am making a movement script with some animations(first time) and I am getting errors that don't make sense to me. The first error I am getting is "PlayerMovement.cs(48,28): error...
View ArticleLittle red x's on my scene view
project link: https://drive.google.com/file/d/0B2ZiQtohl3tmc1pTVEJRYkNjT3M/view?usp=sharing image: ![alt text][1] [1]: /storage/temp/38804-screenshot+(163).png
View ArticleCollider has illegal parameters
Hi, recently i made some 3d box colliders for UI buttons for it to have functions. however, its saying: collider has illegal parameters. or something like that. i thought it was gone when the update...
View ArticleSwitch CullingMask with OnTriggerEnter
Hi guys, it possible switch cullingmask of maincamera when player collider an object? it's my script but is not workin :/ obs: i dont have experience with scripts #pragma strict var...
View ArticleI need a script or plugin to stich my terrain together. I can only find ones...
I just want to go and conect terrain together but I need it free. Got a script I can use or maybe a link. Any help you give is nice. Thank You
View ArticleLocking the cameras Y axis in pause
So in my pause menu I have found out how to lock everything I can exept for the cameras Y-axis movement. I've looked up all kinds of stuff and cant figure it out. Anyone know what I should do? Thanks...
View Article2d controll rigidboy.velocity.y
Hi guys, i'm having a problem trying to program in unity 5. i've watched tutorials, but are only for 4.6, and the most used comand for controll jump and walk simultaneously, they use: new Vector2...
View ArticleHow to make muzzle flashes for an automatic rifle
Hello, I'm making an FPS game. I have made a shoot function aswell as a shooting animation. Only how to do muzzle flashes for my gun? The shoot anim is around 0.07 seconds. I've tried to merge the...
View ArticleAppendProject error
using System; using System.IO; using System.Reflection; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEditor.Callbacks; using...
View ArticleHow to fix (does not exist in the current context)
**Can you help me** ![alt text][1] [1]: /storage/temp/49151-capture.jpg using UnityEngine; using System.Collections; public class EnemyController : MonoBehaviour{ NavMeshAgent nav; Transform player;...
View Article