blob: 8b855f85735be915faf1d3d597c9cbde5e7bcbfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
using System;
using UnityEngine;
namespace XMainClient.UI
{
public class GuildArenaBattleDuelInfo
{
private Transform transfrom;
public GuildArenaBattleDuelTeamInfo BlueInfo;
public GuildArenaBattleDuelTeamInfo RedInfo;
public void Init(Transform t)
{
this.transfrom = t;
this.BlueInfo = new GuildArenaBattleDuelTeamInfo();
this.BlueInfo.Init(this.transfrom.Find("Blue"));
this.RedInfo = new GuildArenaBattleDuelTeamInfo();
this.RedInfo.Init(this.transfrom.Find("Red"));
}
public void SetVisible(bool active)
{
this.transfrom.gameObject.SetActive(active);
}
public void Reset()
{
this.BlueInfo.Reset();
this.RedInfo.Reset();
}
public void Destroy()
{
this.BlueInfo = null;
this.RedInfo = null;
}
}
}
|