So how do I fix Count error?
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Scriptsphere : MonoBehaviour{ private Rigidbody rb; private int count; public Text...
View ArticlePHOTON "Count Of players" not working for Client 1?
Hey gang, I have a small problem with my game, everything seems to work find except with Client 1. the first client to load stays on "Waiting for Players to Join" when the Second Client connects Client...
View ArticleHow to count instantiated objects that passes a given point...
My instantiated objects move up and user touch to destroy them. I want to count intantiated objects that passes a spesific point. (i want to count how many objects user missed ) So that when counting...
View Articlehow to count spins of the object 2d C sharp ?
can someone please share some code showing easy way how to detect and count back/ front flips ? I am not pro in c Sharp just starting now and whatever I found online up until this moment dosent help me...
View ArticleArray that I am using in a IEnumerator parameter does not contain a...
Hello I am following this tutorial for Wave Spawning in my game: [link text][1] [1]: https://www.youtube.com/watch?v=Vrld13ypX_I&t=44s I did everything as is done in the tutorial and for some...
View ArticleScoring system not working?
I'm trying to make it so that it will increase score by 10 when the gem is picked up by the Player gameObject. I have the Count: text on screen, but it isnt increasing by 1 when the prefab is picked...
View ArticleScore system not working
I am wanting to pick up a prefab, "Gem", and for the system to add 10 points. I have the scoreText visible on screen, but it doesn't add 10. Here is the code: using UnityEngine; using...
View ArticleCount Down Timer
Hello I would like to ask how you can make a count down timer that will run even when the game is off
View ArticleTessellation + total vert/tri count
Hi! Simple question: when using a simple fixed ammount tessellation shader found here http://docs.unity3d.com/Manual/SL-SurfaceShaderTessellation.html is it possible in any way to get the total count...
View Articlecounting the buttons clicks
Hi, I have this code that counts every click i make and after 16 clicks changes the scene(wich i want) using UnityEngine; using System.Collections; public class Counter : MonoBehaviour { int counter=0;...
View ArticleHow to add score when destroy another player with Raycast?
I making some multiplayer deathmatch game that is playing on the same keyboard shared by 3 players. **I want to make some scoring sistem, but i dont know:** -How could i check which player have...
View Articlecount how many gameobjects (with childiren) are in trigger?
Hey! I somehow cant figure out how i can count the amount of gameobjects (characters) insider a trigger. since its a character, it has many child objects. how can i count them? thanks!
View ArticleIm Trying To Access count int from another script ?
The Script Where The "count" int is. using UnityEngine; using System.Collections; using UnityEngine.UI; public class PlayerController : MonoBehaviour { public float speed; public Text countText; public...
View ArticleMobile Game: How much Tris Count is too much?
I'm making a low poly 3D environment (islands,trees,grass,rocks, and caves) for a mobile game and I was wondering if what is the optimal tris count for a mobile game to run smoothly? I'm using Blender...
View ArticleHow to count child dynamically?
I know that using transform.childCount will print the number of child in a parent. but it only prints one. How to will I know the number of children when it is dynamically changing at a runtime? here's...
View ArticleCode to replace the "count" commands in C# for text.
I am making a an app similar to [this](https://www.youtube.com/watch?v=jTtCsOjNwJQ&list=PLX2vGYjWbI0RZ3M5zSs-cegtIzv-FBi4q/ "title"). In the 8th video, a scoring feature is added. Is there anyway...
View Articlehow to count points for a water bottle flip game
I do not know how to count score when the bottle did a flip and lands on his back. I tried to compare rotation angles but it didnt work . i also tried with collision same issues . any help or...
View Articlemultiple score counts UI
Hi, I have a game where a roll a ball collides with 3 different types of collectible assets and I want the representative numbers of each asset to be shown on the UI. For example: collectible 1: (the...
View ArticleCode to replace the count commands in C# for text.
I am making a an app similar to [this](https://www.youtube.com/watch?v=38i4JQguH9s&t=219s). A scoring feature is added. Is there anyway to edit that code so instead of counting every time an object...
View Article