UnityScripterAI
Discord ↗
Link Copied to Clipboard
×
"Destroy the Game and Remove the gameObejct"
using UnityEngine; using System.Collections; public class RemoveRenderer : MonoBehaviour { void Awake () { Destroy (GetComponent<MeshRenderer> ()); Destroy (GetComponent<MeshFilter> ()); } }