Пример #1
0
    //This conveys the tension tools ability to apply tension to the key pins.
    private void ApplyTension(bool set)
    {
        if (!m_Pin_Manager_Ref)
        {
            Debug.LogError("[Error] Reference to PinManager.cs missing! Aborting operation...");
            return;
        }

        if (!m_Pin_Manager_Ref.ArePinsReady())
        {
            Debug.Log("[Notice] Key Pins are not yet ready. Aborting operation...");
            return;
        }

        m_Pin_Manager_Ref.SetPinTension(set);
    }