ccCreateGroup.refresh C# (CSharp) Method

refresh() public method

public refresh ( ) : void
return void
    public void refresh()
    {
        for(int i =0;i< all.Count;i++){
            all[i].transform.localPosition = place(i);
        }
        if(onRefresh!=null)onRefresh();
    }

Usage Example

Esempio n. 1
0
 protected override void OnEvent()
 {
     base.OnEvent();
     group.refresh();
 }