Drunken Wrestlers 2

Drunken Wrestlers 2

DW2 Workshop
Rate and share maps and game modes created in the game.
了解更多
birbaphant 1 2020 年 2 月 1 日 上午 7:57
i need help for a map
i want the water to kill you if you touch it. Is this possible?
< >
正在显示第 1 - 3 条,共 3 条留言
Oleg Skutte  [开发者] 27 2020 年 2 月 1 日 上午 8:03 
Add this script to an object with Collider component.

Add Component -> CustomScript, then paste this code
using UnityEngine; using DrunkenWrestlers2.Gameplay; public class InstaKill : MonoBehaviour, IPlayerCollisionHandler { public void OnPlayerCollision(PlayerCollisionData collision) { collision.Player.Kill(); } }
birbaphant 1 2020 年 2 月 1 日 上午 8:29 
引用自 SkutteOleg
Add this script to an object with Collider component.

Add Component -> CustomScript, then paste this code
using UnityEngine; using DrunkenWrestlers2.Gameplay; public class InstaKill : MonoBehaviour, IPlayerCollisionHandler { public void OnPlayerCollision(PlayerCollisionData collision) { collision.Player.Kill(); } }
hmm didnt seem to work thanks anyways
OliviaMeowlody 6 2020 年 6 月 29 日 上午 7:22 
引用自 birbaphant
引用自 SkutteOleg
Add this script to an object with Collider component.

Add Component -> CustomScript, then paste this code
using UnityEngine; using DrunkenWrestlers2.Gameplay; public class InstaKill : MonoBehaviour, IPlayerCollisionHandler { public void OnPlayerCollision(PlayerCollisionData collision) { collision.Player.Kill(); } }
hmm didnt seem to work thanks anyways

The object needs to have MeshCollider for it too work
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50