_
This commit is contained in:
parent
93fec36bdd
commit
f7042cdd2b
@ -639,8 +639,8 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1419812560}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 3.7088284, y: -10.5, z: 0.70835644}
|
||||
m_LocalScale: {x: 17.397755, y: 1.9050395, z: 1}
|
||||
m_LocalPosition: {x: 17.7342, y: -10.9912, z: 0.70835644}
|
||||
m_LocalScale: {x: 101.93455, y: 0.9226782, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8146526}
|
||||
m_RootOrder: 3
|
||||
|
@ -4,21 +4,14 @@ using UnityEngine;
|
||||
|
||||
|
||||
public class Death : MonoBehaviour
|
||||
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
void Start() {
|
||||
Debug.Log("hello");
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
private void OnCollisionEnter2D (Collision2D collisionInfo)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void OnCollisionEnter(){
|
||||
Debug.Log("B");
|
||||
Debug.Log(collisionInfo.collider.transform);
|
||||
collisionInfo.collider.transform.position = Vector3.zero;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user