// This should be in a separate script file named "ILevel.cs" public interface OptionLogic { void optionSelected(string option); // A common method for both classes }