<commit_before>﻿using UnityEngine;
using System.Collections;
using Assets.Core.Configuration;

public class NewSign : MonoBehaviour
{

    public int ID;
    public Camera cam;
    private DatabaseManager databaseManager;
    private UiController _uiControl;

    void Start()
    {
        _uiControl = GameObject.FindGameObjectWithTag(Constants.Tags.GameUI).GetComponent<UiController>();
        databaseManager = GameObject.FindGameObjectWithTag(Constants.Tags.DatabaseManager).GetComponent<DatabaseManager>();
    }

    void Update()
    {
        if (databaseManager.GetSign(ID) != null)
        {
            this.gameObject.SetActive(false);
        }
    }

    void OnTriggerEnter(Collider col)
    {
        if (col.tag == "Player")
        {
            _uiControl.NewSignCreation(ID);
            Debug.Log("IM HERE");
        }
    }

    public void SetSignID()
    {
        CreateNewSymbol.SymbolID = ID;
    }
}

<commit_msg>Removed the on trigger enter, to ensure you cannot activate a naming session, without clicking on the object<commit_after>﻿using UnityEngine;
using Assets.Core.Configuration;

public class NewSign : MonoBehaviour
{

    public int ID;
    public Camera cam;
    private DatabaseManager databaseManager;
    private UiController _uiControl;

    void Start()
    {
        _uiControl = GameObject.FindGameObjectWithTag(Constants.Tags.GameUI).GetComponent<UiController>();
        databaseManager = GameObject.FindGameObjectWithTag(Constants.Tags.DatabaseManager).GetComponent<DatabaseManager>();
    }

    void Update()
    {
        if (databaseManager.GetSign(ID) != null)
        {
            this.gameObject.SetActive(false);
        }
    }

    public void SetSignID()
    {
        CreateNewSymbol.SymbolID = ID;
    }
}


{'fraction_non_alphanumeric': 0.09193457416807671, 'fraction_numerical': 0.0, 'mean_word_length': 2.798715203426124, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4147542', 'n_tokens_mistral': 499, 'n_tokens_neox': 486, 'n_words': 103}