You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
705 B
27 lines
705 B
using System; |
|
using System.Collections; |
|
using System.Collections.Generic; |
|
using UnityEngine; |
|
|
|
public class WarCommuniqueToggle : BaseToggle { |
|
public GameObject OverAllReportPanel; |
|
public GameObject EventPanel; |
|
void Awake() |
|
{ |
|
//OverAllReportPanel = GameObject.Find("OverAllReportPanel"); |
|
//EventPanel = GameObject.Find("EventPanel"); |
|
} |
|
private void Start() |
|
{ |
|
OverAllReportPanel.SetActive(false); |
|
EventPanel.SetActive(false); |
|
} |
|
public override void RespondFun(bool value) |
|
{ |
|
OverAllReportPanel.SetActive(value); |
|
EventPanel.SetActive(value); |
|
//transform.Find("Image").gameObject.SetActive(value); |
|
} |
|
|
|
|
|
}
|
|
|