Beispiel #1
0
    void Start()
    {
        pointsHolder = transform.Find("Points").GetComponent <PointsHolder> ();
        //rb2d = GetComponent<RigidBody2D>();
        allPoints = pointsHolder.getAllPoints();


        StartCoroutine(moveAround());
    }
 private void OnEnable()
 {
     f = target as PointsHolder;
 }