Exemple #1
0
    // Start is called before the first frame update
    void Start()
    {
        var moduleA = new ModuleA();

        moduleA.Log();

        var moduleB = new ModuleB();

        moduleB.Say("Hey");
    }
Exemple #2
0
        public void Log()
        {
            var moduleB = new ModuleB();

            moduleB.Say("Hello");
        }