14 lines
285 B
C#
14 lines
285 B
C#
![]() |
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 玩家坠崖死亡脚本
|
||
|
/// </summary>
|
||
|
public class DropToDead : EntryTrigger
|
||
|
{
|
||
|
public override void OnCall(){
|
||
|
StartCoroutine(FindObjectOfType<MyPlayer>().OnDead());
|
||
|
}
|
||
|
}
|