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

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

        ObjectDescriptionMeasure = ObjectDescription;
    }
示例#2
0
    // =============================================================================



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

    void Awake()
    {
        base.Awake();

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

        ObjectDescriptionMeasure = ObjectDescription;
    }