Example #1
0
    public void SetStatus(bool aStatusBool)
    {
        if (m_CommandboardCreature != null)
        {
            UiTabsPartyStatusManager UiPartyStatusManager = (UiTabsPartyStatusManager)UiManager.instance.GetUiTab(UiManager.UiTab.PlayerStatus);

            UiPartyStatusManager.m_Portrait.gameObject.SetActive(aStatusBool);
            m_CommandboardCreature.m_Status.SetStatus(aStatusBool);
        }
    }
Example #2
0
    // Use this for initialization
    public override void Initialize()
    {
        m_MenuControls = new PlayerInput();

        m_MenuControls.Player.Movement.performed     += movement => MoveMenuCursorPosition(movement.ReadValue <Vector2>());
        m_MenuControls.Player.XButton.performed      += XButton => ExecuteSkill();
        m_MenuControls.Player.CircleButton.performed += CircleButton => ReturnToLastScreen();
        m_MenuControls.Disable();

        m_UiStatus = (UiTabsPartyStatusManager)UiManager.instance.GetUiTab(UiManager.UiTab.PlayerStatus);
    }