Esempio n. 1
0
    protected virtual void Init()
    {
        _outline = GetComponent <Outline>();

        if (_outline != null)
        {
            _outline.enabled     = false;
            _outline.OutlineMode = Outline.Mode.OutlineVisible;
        }

        _player = ReInput.players.GetPlayer(0);

        if (interactionLabel != "")
        {
            _interactionName = ReadJSON.GetCorrectTextInteraction(interactionLabel);
        }
        OptionScreen.OnUpdate += UpdateInteractionName;
    }
Esempio n. 2
0
 void UpdateInteractionName()
 {
     _interactionName = ReadJSON.GetCorrectTextInteraction(interactionLabel);
 }