public override void OnInspectorGUI()
    {
        DrawDefaultInspector();
        OpsdCardControl d = (OpsdCardControl)target;

        if (GUILayout.Button("Generate Card Test"))
        {
            d.GenerateCardTestRun();
        }

        if (GUILayout.Button("Draw Card Test"))
        {
            d.DrawCardTest();
        }

        if (GUILayout.Button("Random Push out"))
        {
            d.RandomPush();
        }

        if (GUILayout.Button("Flip Open !"))
        {
            d.FlipOpen();
        }

        if (GUILayout.Button("Send To Destroy"))
        {
            d.SendToDestroy();
        }
    }
Beispiel #2
0
 public void DuelRamdomPush()
 {
     DuelEventSet.RandomPush();
 }