using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using FVS;

public class DemoEvent : MonoBehaviour
{
    void OnEnable()
    {
        // Cube󶨵¼, Լʱݵ
        GameObject cube = GameObject.Find("Cube");
        var clickable = cube.AddComponent<FVSClickable>();
        clickable.eventName = "cubeClick";
        clickable.eventData = "{\"name\": \"Cube\"}";
    }
}
