21 lines
628 B
C#
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(() =>
|
|||
|
{// <20><F2BFAABA>ǽ<EFBFBD><C7BD>
|
|||
|
GameManager.Instance.PoolManager.GetResourceInFreePool(EResourceType.Environment, 6).transform.position = transform.position;
|
|||
|
// <20>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
if (GameManager.Instance.LevelManager.Level == 23) GameManager.Instance.PlotManager.PlotDictionary[7] += 1;
|
|||
|
});
|
|||
|
_opening = true;
|
|||
|
return false;
|
|||
|
}
|
|||
|
}
|