Question by 
               KikunayarTH · Apr 13, 2017 at 05:31 PM · 
                gameobjectinstantiatedestroyspawnif  
              
 
              Destroy Instantiate is not working
 using UnityEngine;
 using System.Collections;
 
 public class textspawn : MonoBehaviour {
 public GameObject Text1;
     
     void Start () 
     {
         
     }
     
 
     void Update () {
     if(Input.GetKeyDown(KeyCode.Alpha1)){Instantiate(Text1);}
     if(Input.GetKeyDown(KeyCode.Alpha2)){Destroy (Text1);}
     }
 }
 
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                