示例#1
0
 private void ResetStartPoint(Transform startPoint, DragableAsset dragable)
 {
     startpointHoldList.Remove(startPoint);
     startpointList.Add(startPoint);
     dragable.transform.position = dragableOffScreen.position;
     ResetDrabables(dragable);
 }
示例#2
0
    private void ResetDrabables(DragableAsset dragable)
    {
        int r = StaticFunctions.RandomNumber(startpointList.Count - 1);

        dragable.transform.position = startpointList[r].position;
        dragable.lastStartPoint     = startpointList[r];
        startpointHoldList.Add(startpointList[r]);
        startpointList.RemoveAt(r);
    }
示例#3
0
 private void AddToDragableList(DragableAsset dragable)
 {
     dragableList.Add(dragable);
     dragable.transform.position = dragableOffScreen.position;
 }