松果体

public float speed;
void Update()
{
transform.Translate(speed*Time .deltaTime , 0, 0, Space.Self);
Vector3 screenspoint = Camera.main.WorldToScreenPoint(transform.position);
if (screenspoint .x>Screen.width )
{
Destroy(this.gameObject);
}
}
更多>
全部歌曲