using System.Collections; using System.Collections.Generic; using UnityEngine; public class GO_Gem : MonoBehaviour { private Rigidbody rigidBody; private void Awake() { this.rigidBody = GetComponent(); } public void Spawn() { this.gameObject.SetActive(true); } public void Return() { this.gameObject.SetActive(false); } }