public override void OnInspectorGUI() { FishTest fishingMenu = (FishTest)target; if (GUILayout.Button("Go Fishing!")) { fishingMenu.GoFishing(); //Debug.Log("test"); } DrawDefaultInspector(); }
//TODO: potentially put this trigger farther down the line, only resolving fish gotten when fishing is completed //TODO: OR: put the 'return fish' on a separate event trigger private void OnStartFishing() { helper.GoFishing(); print("event recieved: Going Fishing"); }