public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        TweenTransforms myScript = (TweenTransforms)target;

        if (GUILayout.Button("Save Data"))
        {
            Debug.Log("Saving...");
            EditorUtility.SetDirty(target);
        }

        if (!myScript.useDefaultVector)
        {
            if (GUILayout.Button("Show Default Vector"))
            {
                myScript.useDefaultVector = true;
            }
        }
        else
        {
            if (GUILayout.Button("Hide Default Vector"))
            {
                myScript.useDefaultVector = false;
            }
        }

        if (myScript.useDefaultVector)
        {
            myScript.defaultVector = EditorGUILayout.Vector3Field("Default Vector:", myScript.defaultVector);
        }
    }
    private void mi_poker()
    {
        string mi = _model.getValue("mi_kind");

        Debug.Log("mi = " + mi);
        if (mi == "")
        {
            return;
        }

        _mi_pokerboard.gameObject.SetActive(true);

        int    poker_idx = 0;
        string poker     = "";

        if (mi == "Player")
        {
            poker = _poker.get_poker(poker_type.Player);
        }
        if (mi == "Banker")
        {
            poker = _poker.get_poker(poker_type.Banker);
        }
        if (mi == "River")
        {
            poker = _poker.get_poker(poker_type.River);
        }
        poker_idx = _poker.pokerTrans(poker);

        _mi_pokerboard.transform.FindChild("poker").GetComponent <Image> ().sprite = _poker_sprite [poker_idx];         //Your sprite
        TweenSequence se = _mi_pokerboard.transform.FindChild("poker").GetComponent <TweenSequence> ();

        se.BeginSequence();
        TweenTransforms trans = _mi_pokerboard.transform.FindChild("poker").GetComponent <TweenTransforms> ();

        trans.TweenCompleted += tween_ok;
    }