Question by 
               sennci · Jun 17, 2016 at 12:58 PM · 
                uiinstantiatebutton  
              
 
              calling 3D model with button using INSTANTIATE I did successfully with keyboard now I am struggling to call from UI Button
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement;
public class myPrefeb : MonoBehaviour {
void Update() { //presing k on keyboard it is going to clone and to apper
     if (Input.GetKeyDown("k")){ 
     Instantiate(KockaA);
     }
  }
 
               }
               Comment
              
 
               
              Your answer