Home > OS >  Of new college students, big help
Of new college students, big help

Time:09-21

using System.Collections;
using System.Collections.Generic;
Using UnityEngine;

Public class NewBehaviourScript: MonoBehaviour
{
Public Transform start;
Public Transform end;
Public float speed;
Void the Start ()
{

}

//Update is called once per frame
Void the Update ()
{
Transform. The position=Vector3. MoveTowards (start position, end position, speed * Time deltaTime);

}
}

I want to if tansform start position is equal to the transform end position open rigid body gravity, strives for the bosses under taught how to write,
  • Related