MoTaForPSVita/Assets/Scripts/Controller/Environment/HideWallController.cs
2024-04-30 17:39:50 +08:00

21 lines
628 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HideWallController : EnvironmentController
{
public override bool Interaction()
{
if (_opening) return false;
Open(() =>
{// 嬉蝕朔幹秀能謁
GameManager.Instance.PoolManager.GetResourceInFreePool(EResourceType.Environment, 6).transform.position = transform.position;
// 個延丞秤
if (GameManager.Instance.LevelManager.Level == 23) GameManager.Instance.PlotManager.PlotDictionary[7] += 1;
});
_opening = true;
return false;
}
}