Make work with astra

This commit is contained in:
Andras Schmelczer 2026-09-14 08:01:49 +01:00
commit c8ee5045e2

View file

@ -1,17 +1,11 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class destroyCar : NetworkBehaviour {
public carCount text;
void OnTriggerEnter (Collider other)
{
if(isServer) {
text.IncrementValue();
Destroy(other.gameObject);
}
}
}
fileFormatVersion: 2
guid: 88b7ddbf951e255478383ee9f8ecc0b2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: