コード例 #1
0
 private void RemoveAllMarked(UIContent content)
 {
     RemoveAllMarked(new List <UIContent>()
     {
         content
     });
 }
コード例 #2
0
 private void MarkToBeRemoved(UIContent content)
 {
     MarkToBeRemoved(new List <UIContent>()
     {
         content
     });
 }
コード例 #3
0
        public IEnumerator RemoveFromContainerAnimation(UIContent content)
        {
            MarkToBeRemoved(content);
            yield return(StartCoroutine(BeforeRemoveFromContainerAnimation(content)));

            RemoveFromContainer(content);
            yield return(StartCoroutine(AfterRemoveFromContainerAnimation(content)));

            RemoveAllMarked(content);
        }
コード例 #4
0
        // Main code
        public virtual List <UIContent> AddAllToContainer(List <UIContentInfo> infoList)
        {
            List <UIContent> result = new List <UIContent>();

            foreach (var info in infoList)
            {
                UIContent item = AddToContainer(info);
                if (item)
                {
                    result.Add(item);
                }
                else
                {
                    break;
                }
            }
            return(result);
        }
コード例 #5
0
 public virtual IEnumerator AfterRemoveFromContainerAnimation(UIContent content)
 {
     yield return(null);
 }
コード例 #6
0
 public virtual void RemoveFromContainer(UIContent content)
 {
 }