示例#1
0
    private void ActionPanelContralDown()
    {
        ActionPanel.SetBool("Up", false);
        ActionPanel.SetBool("Down", true);

        TopPanel.SetBool("Up", true);
        TopPanel.SetBool("Down", false);

        LeftPanel.SetBool("Up", true);
        LeftPanel.SetBool("Down", false);

        FanHuiPanel.SetBool("Up", false);
        FanHuiPanel.SetBool("Down", true);

        GuoShuPanel.SetBool("Up", false);
        GuoShuPanel.SetBool("Down", true);

        ShuInfoPanel.SetBool("Up", false);
        ShuInfoPanel.SetBool("Down", true);
    }
示例#2
0
    private void FanHuiPanelUp(LandProperty isLand)
    {
        ShuInfoPanel.gameObject.SetActive(true);
        ShuInfoPanel.transform.position = Camera.main.WorldToScreenPoint(isLand.transform.position);
        return;

        TopPanel.SetBool("Up", false);
        TopPanel.SetBool("Down", true);

        LeftPanel.SetBool("Up", false);
        LeftPanel.SetBool("Down", true);

        GuoShuPanel.SetBool("Up", true);
        GuoShuPanel.SetBool("Down", false);

        FanHuiPanel.SetBool("Up", true);
        FanHuiPanel.SetBool("Down", false);

        ShuInfoPanel.SetBool("Up", true);
        ShuInfoPanel.SetBool("Down", false);
    }