24 lines
448 B
C#
24 lines
448 B
C#
//- 卡车
|
|
|
|
using UnityEngine;
|
|
|
|
namespace GampPlay.ChallengeMatch.Road
|
|
{
|
|
|
|
public class ChallengeTruck : MonoBehaviour
|
|
{
|
|
//- 卡车
|
|
public Transform truck;
|
|
|
|
//- 玩家节点
|
|
public Transform playerNode;
|
|
|
|
//-
|
|
public Vector3 offset;
|
|
|
|
// private void Update()
|
|
// {
|
|
// playerNode.position = transform.position + offset;
|
|
// }
|
|
}
|
|
} |