Пример #1
0
    private void Awake()
    {
        SUB  = GetComponent <HCI_LAB_ITEM_SUBSCRIBE>();
        LINE = GetComponentsInChildren <LineRenderer>();

        SUB.OnReceive += ITEM_OnReceive;
    }
    private void Awake()
    {
        SUB = GetComponent <HCI_LAB_ITEM_SUBSCRIBE>();
        BG  = transform.GetChild(2).GetComponent <Renderer>();

        SUB.OnReceive += ITEM_OnReceive;

        MySetBackground(false);
    }