19 lines
435 B
C#
19 lines
435 B
C#
using UnityEngine;
|
|
|
|
public class JumpTrigger : MonoBehaviour
|
|
{
|
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
|
|
// Sobald der Step an der offenen Tür verbraucht wird, geht der GFegner auf "void OnTriggerEnter" und es wird ein Sound abgespielt, sowie das Bild.
|
|
}
|