Пример #1
0
    private void Awake()
    {
        logoDropper      = logo.GetComponent <Drop>();
        selectionDropper = selection.GetComponent <Drop>();

        if (logoDropper == null)
        {
            Debug.Log("Logo Missing a Drop component!");
        }
        else if (selectionDropper == null)
        {
            Debug.Log("Selection Missing a Drop component!");
        }
        else
        {
            logoDropper.Close(true, true, 0.1f);
            selectionDropper.Close(true, true, 0.1f);
        }
    }