Пример #1
0
    void Start()
    {
        UIRectContent warpContent = gameObject.transform.GetComponentInChildren <UIRectContent>();

        warpContent.onInitializeItem = onInitializeItem;
        warpContent.onDisposeItem    = OnDisposeItem;
        warpContent.Init(22);
    }
Пример #2
0
 void OnDestroy()
 {
     warpContent = null;
 }