System.Collections; using System.Collections.Generic; using UnityEngine; using System; public class AirTapGesture : MonoBehaviour, IInputClickHandler { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void OnInputClicked(InputClickedEventData eventData) { gameObject.AddComponent<Rigidbody>(); } } https://github.com/kaorun55/HoloHoL/blob/master/HelloHoloProject/Assets/AirTapGesture.cs 50