UnityScripterAI
Discord ↗
Link Copied to Clipboard
×
"coin collect on trigger"
public class CoinPicker : MonoBehaviour { private void OnTriggerEnter(Collider other) { if(other.gameObject.tag == ("Coin")) { Destroy(gameObject); } } }