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.
That demo was incredible. It's probably one of the best gaming experiences that I've had in recent months. The distance you get set back in the...
Looks great, but I ask why you are using the same models as Warp Gate? How did you get them?
Ok, so I want to attach this script to a "bullet" object that destroys anything it hits and instantiates an explosion prefab in its place....
That's what you get for digging straight down. :)
It's better. Three things, 1) Move the doorway away from the edge 2) Use some concept art. The best thing to do would be to import a picture of...
You sir, hereby receive exactly three cookies :) Now call up some lawyers before the BBC breaks down your door...
If you can't be bothered to try and do it yourself, don't expect any help. I'm not trying to sound mean. Just post whatever you can come up with,...
Okay, I've just written the following script which combines the health and respawn scripts into one: static var lives = 3; var PlayerHitpoints...
@niosop: Exactly how would I fit that into the script?
var target: Transform; var respawntarget: Transform; function CheckForPlayer () { if (target != null) { Spawn(); } } function Spawn ()...
var target: Transform; var respawntarget: Transform; function CheckForPlayer () { if (target != null) { StartCoroutine(Spawn); } }...
Thanks. So where do I call the coroutine from if not from an update?
Something like this? var target: Transform; var respawntarget: Transform; function Respawn () { if (target != null) {...
Sorry to resurrect an ancient thread, but I am trying to do something like this again now using the following code: var target: Transform; var...
Nevermind! I wrote a new script that does the job perfectly. Thanks for the help. (Did I just quintuple post? I stand in disgrace.)
It really is absolutely vital that I get help on this ASAP. If anyone has any ideas as to what is going on, please advise.
Sorry for bumping a second time, but I have tried multiple things and it still fails to work. it is very important that I get an answer on this as...
*bump* Anyone have any ideas on this?
Nothing shows up in the console. I think I know why. The player needs to be a trigger, which it isn't right now because it only has a Character...
Like this?: var PlayerHP = 3; function OnTriggerEnter(Projectile2 : Collider) { if (Projectile2.CompareTag ("EnemyProjectile"))...