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.
I would like to know how to achieve the look like in the video with the healthbar and flux and also how it follows the gameobject around while its...
yes it does but i still had to add some stuff to it so it would work.
nope but i think i fixed the problem with constantforce by applying upwards force while a button is being held down, and when its released ill...
What i want to do is, is this: i have a float i.e upliftthrust = 1 now when i use this float in unity the object will go very fast upwards. i want...
I fixed it already. i just forgot that when i reference i.e Oxygen oxygen; and if i now do in start oxygen = getcomponent<Oxygen>(); it will...
so i did what you told me to do and i still get the same null reference error any idea why?
But what if i have many objects with the same script? and i dont want em all to get affected at the same time.
What do you mean by that? like public ProduceOxygen oxygen;?
yeah im getting null reference errors but its only from the buildinghealth so far. I cant use an alternative because the things i need are in the...
So i have made some scripts which i think should work but aren't working. And i think i know what the problem is but i dont know why nor how to...
I fixed the problem already, It turns out i had to do this in the repairing script:...
So I have 5 cubes with a health script attached, On start the health value is randomized. When i use another script to start increasing the life...
I see what the mistake was. The fix is working correctly if the reference is public. But I have 5 cubes that have the building health script and...
That pretty much fixed it. I always keep forgetting that this way exists also.. But just a question does that mean i can make the health reference...
They aren't on the same gameobject
I know this should probably be a simple fix but I've been struggling with this for 2 hours now. using System; using System.Collections; using...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class buildingsystem : MonoBehaviour { public...
i just want it to look like a planet and planets arent perfectly spherical. and how would i do the voxel part?
But how would I do the terrain mining part? And generate the caves on terrain that are part of a mountain. I don't know I'm so curious and don't...
So lets say that i'm choosing to make a spherical voxel world. Assuming that space engineers doesnt use trickery to make it look like a planet. I...