AbstractFactory.AbstractFactoryPattern.OnEnable C# (CSharp) Method

OnEnable() private method

private OnEnable ( ) : void
return void
        void OnEnable()
        {
            Debug.Log ("------------------");
            Debug.Log ("ABSTRACT FACTORY DESIGN PATTERN");
            // Test here:
            EnemyShipBuilding ufoBuilder = new UFOEnemyShipBuilding();
            ufoBuilder.orderShip(ShipType.UFO);
        }
AbstractFactoryPattern