A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
If anyone else stumbles across this whilst thinking similar wrongnesses, the answer is to use a list, and to avoid FindObjectsOfType entirely....
Not a clue. Will come back to it tomorrow. Thnx x
I'm trying to set up a randomisation feature for a player character creation menu in a 2D game. I've managed to set it up for changing the hair...
thanks for this! Looks like I'd have to make the health bar as an image rather than using my slider, does the .fillAmmount function work for...
Never mind guys this one was just me being tired and dumb - thanks for the messages anyway! :) I completely overlooked this as I hadn't slept in...
I'm following a tutorial on quest making, and the YouTuber uses the List.Clear() function, and List.Add() function, perfectly well and without any...
Hey :) thanks for the link xx It's a 2D game, it's very simple and based on a tutorial series I'm following closely, as I've not really made...
I have figured something out private Canvas NPCView; // Start is called before the first frame update void Start() { NPCView...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class NPCHealth : MonoBehaviour {...
Well I'm an idiot and didn't read that correctly at all. Should've read it more closely, changing the expText.text line was all I needed! Thanks...
The maxValue is correct now with expText.text = "Exp: " + playerExp.currentExp + "/" + playerExp.toLevelUp[playerExp.currentLevel]; And the EXP...
this is what the code currently looks like with player.Exp.toLevelUp[playerExp.currentLevel]; which now outputs System:Single[] as I changed the...
I've tried to create a variable called displayLevel to convert it to a string displayLevel = string.Join("", toLevelUp); but now get the error...
(Hoping that image loads as I don't know how forums work generally) I inputted that and it comes out with this (Exp: 0/SystemInt32[]) rather than...
Ah okay, thanks for trying with what I gave originally :') The full code for where I get the error is this: public class UIManager :...
Hello, I'm new to creating games. I've been following a tutorial on creating a 2D RPG in Unity. The tutorial showed how to create a health bar,...