//material
 private void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.name.StartsWith("B"))
     {
         InRoom.SetActive(true);
     }
 }
    //==============================================================================
    //general
    void Start()
    {
        for (int i = 0; i < InRoom.transform.childCount; i++)
        {
            switch (InRoom.transform.GetChild(i).name)
            {
            case "Fuel": { Fuel.Add(InRoom.transform.GetChild(i).gameObject); } break;

            case "Generator": { Generator.Add(InRoom.transform.GetChild(i).gameObject); } break;

            case "Scrap": { Scrap.Add(InRoom.transform.GetChild(i).gameObject); } break;

            case "D-DEAD": { Dead.Add(InRoom.transform.GetChild(i).gameObject); } break;

            default: { } break;
            }
        }
        InRoom.SetActive(false);
        if (online)
        {
            Text.GetComponent <NumberScript>().Energize();
        }
    }