Example #1
0
    // =============================================================================
    // =============================================================================
    // METHODS UNITY ---------------------------------------------------------------
    void Awake()
    {
        base.Awake();

        MeasurenentMeter = FindObjectOfType( typeof(MeterFirePort) ) as MeterFirePort;
        Extinguisher = FindObjectOfType( typeof(MeterFireExtinguisher) ) as MeterFireExtinguisher;

        ObjectDescriptionMeasure = ObjectDescription;
    }
Example #2
0
    // =============================================================================



    // =============================================================================
    // METHODS UNITY ---------------------------------------------------------------

    void Awake()
    {
        base.Awake();

        MeasurenentMeter = FindObjectOfType(typeof(MeterFirePort)) as MeterFirePort;
        Extinguisher     = FindObjectOfType(typeof(MeterFireExtinguisher)) as MeterFireExtinguisher;

        ObjectDescriptionMeasure = ObjectDescription;
    }