Example #1
0
    public override void OnInspectorGUI()
    {
        FishTest fishingMenu = (FishTest)target;

        if (GUILayout.Button("Go Fishing!"))
        {
            fishingMenu.GoFishing();
            //Debug.Log("test");
        }
        DrawDefaultInspector();
    }
Example #2
0
 //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");
 }