Exemplo n.º 1
0
 void Start()
 {
     movement = gameObject.GetComponent<LinearMover>();
     player = gameObject.GetComponent<PlayerController>();
     myTranny = transform;
     previousPosition = myTranny.position;
     trailHolder = new GameObject();
     trailHolder.name = "[TrailHolder]";
 }
Exemplo n.º 2
0
 void Start()
 {
     movement = gameObject.GetComponent<PlayerController>();
 }