21 lines
411 B
C#
21 lines
411 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class PCUI : BotMenuBase
|
||
|
|
{
|
||
|
|
public PCUIMenu[] m_PCMenu; // 0 정보
|
||
|
|
|
||
|
|
public override void Set()
|
||
|
|
{
|
||
|
|
base.Set();
|
||
|
|
OnClick_Tab(0);
|
||
|
|
}
|
||
|
|
|
||
|
|
public void OnClick_Tab(int index)
|
||
|
|
{
|
||
|
|
for (int i = 0; i < m_PCMenu.Length; i++)
|
||
|
|
m_PCMenu[i].Off();
|
||
|
|
m_PCMenu[index].Set();
|
||
|
|
}
|
||
|
|
}
|