public override void OnInspectorGUI() { base.OnInspectorGUI(); if (GUILayout.Button("Ready")) { FightTestHelper rpc = target as FightTestHelper; if (rpc) { rpc.TestReady(); } } if (GUILayout.Button("Action")) { FightTestHelper rpc = target as FightTestHelper; if (rpc) { rpc.TestAction(); } } if (GUILayout.Button("Enter")) { FightTestHelper rpc = target as FightTestHelper; if (rpc) { rpc.TestEnter(); } } }
public override void OnInspectorGUI() { base.OnInspectorGUI(); if (GUILayout.Button("UseSkillAction")) { FightTestHelper rpc = target as FightTestHelper; if (rpc) { rpc.TestUseSkillAction(); } } }