Soulaha Balde 6b5c481c6f Trigger zone can trigger triggerable obj
Example in SlidingDoor in Obstacle scene
2022-10-21 23:25:18 -04:00

9 lines
175 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Triggerable : MonoBehaviour
{
public abstract void TriggerEvent();
}