移除ECM2

This commit is contained in:
2025-05-11 21:42:51 +08:00
parent aadd564c38
commit a7bf033ca9
726 changed files with 0 additions and 138648 deletions

View File

@@ -1,27 +0,0 @@
using UnityEngine;
namespace ECM2.Examples
{
/// <summary>
/// Shows how to use the new (introduced in v1.4) Character Pause method to pause / resume a Character.
/// When paused, a Character prevents any interaction.
/// </summary>
public class CharacterPause : MonoBehaviour
{
private Character _character;
private void Awake()
{
_character = GetComponent<Character>();
}
private void Update()
{
// Toggle Character pause
if (Input.GetKeyDown(KeyCode.P))
_character.Pause(!_character.isPaused);
}
}
}