예제 #1
0
 public void show()
 {
     if (isShowingGrid)
     {
         return;
     }
     isShowingGrid = true;
     CLThingsPool.borrowObjAsyn(lineName, (Callback)onSetPrefab, null);
 }
예제 #2
0
    public void drawLine(Vector3 startPos, Vector3 endPos, Color color)
    {
        ArrayList list = ListEx.builder().Add(startPos).Add(endPos).Add(color).ToList();

        CLThingsPool.borrowObjAsyn(lineName, (Callback)doDrawLine, list);
    }