Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        //[Modify]
        fingerTransform = Finger.instance.gameObject.transform;

        if (ClickedMaterial == null)
        {
            ClickedMaterial = OriginalMaterial;
        }
        if (clickEvent == null)
        {
            clickEvent = new MyStringEvent();
        }
        this.GetComponent <Renderer>().material = OriginalMaterial;
    }