// Start is called before the first frame update void Start() { var moduleA = new ModuleA(); moduleA.Log(); var moduleB = new ModuleB(); moduleB.Say("Hey"); }
public void Log() { var moduleB = new ModuleB(); moduleB.Say("Hello"); }