29 lines
463 B
C#
29 lines
463 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public enum sceneYype
|
|
{
|
|
光伏板,
|
|
充电路面,
|
|
公交站台,
|
|
智慧路灯,
|
|
充电桩,
|
|
升降门,
|
|
无感充电,
|
|
站台切换场景
|
|
}
|
|
public class Trigger_Objective : MonoBehaviour
|
|
{
|
|
public sceneYype scene;
|
|
|
|
public virtual void OnTriggerEnter(Collider other)
|
|
{
|
|
|
|
}
|
|
public virtual void OnTriggerExit(Collider other)
|
|
{
|
|
|
|
}
|
|
}
|