AbstractFactory.AbstractFactoryPattern.OnEnable C# (CSharp) Méthode

OnEnable() private méthode

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