initial upload

This commit is contained in:
tom.hempel
2026-05-30 18:11:47 +02:00
commit 410e93f746
272 changed files with 178849 additions and 0 deletions

View File

@ -0,0 +1,26 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace HeneGames.Airplane
{
public class SimpleAirPlaneCollider : MonoBehaviour
{
public bool collideSometing;
[HideInInspector]
public SimpleAirPlaneController controller;
private void OnTriggerEnter(Collider other)
{
if (other.GetComponentInParent<RingCheckpoint>() != null)
return;
if (other.gameObject.GetComponent<SimpleAirPlaneCollider>() == null &&
other.gameObject.GetComponent<LandingArea>() == null)
{
collideSometing = true;
}
}
}
}