unity3d - Unity 2D | How To Make A Character Respawn? -


I'm using Unity 2D, not 3D, and I'm wondering why my current script is not working Will do It is not destroying the object and it is giving relief. Keep in mind that I am using Integration 2D and 2D Physics. Can anyone help?

  #pragma Strict class players: GameAbject; Var spawnPoint: conversion; Function OnTriggerEnter (other: collider) {deleted (other. GameObject); Var P: Game Object = Institution (Player, SpawnPoint.Status, Quattrocount., Privacy); } 

this problem itself,

OK: function OnTriggerEnter2D (Other object: Collider 2D) {

2D and 3D commands are different really bothered.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -