MoTaForPSVita/Assets/Scripts/Event/Level/EventLevel2Actor2.cs

27 lines
1007 B
C#
Raw Normal View History

2024-04-30 17:39:50 +08:00
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EventLevel2Actor2 : ActorController
{
public override bool Interaction()
{
// С͵˵<CDB5><CBB5>
GameManager.Instance.UIManager.ShowDialog(GetComponent<ResourceController>().Name, new List<string> { "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ե<EFBFBD><D4B5>", "лл<D0BB><D0BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҡ<EFBFBD>", "<22>һ<EFBFBD><D2BB><EFBFBD>ħ<EFBFBD><C4A7><EFBFBD>Ա߿<D4B1>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥ 35 <20><><EFBFBD><EFBFBD><EFBFBD>Ұɡ<D2B0>" }, () =>
{
// <20><><EFBFBD><EFBFBD> 35 ¥С͵
GameManager.Instance.ResourceManager.MakeResourceForLevel(35, EResourceType.Actor, 31, new Vector2(-1, -4));
// <20>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD>
GameManager.Instance.PlotManager.PlotDictionary[9] = 3;
// <20><>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD>
GameManager.Instance.SoundManager.PlaySound(ESoundType.Music, "1-9");
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
GameManager.Instance.PlayerManager.Enable = true;
// NPC <20><><EFBFBD><EFBFBD>
GameManager.Instance.PoolManager.RecycleResource(gameObject);
});
return false;
}
}