Ejemplo n.º 1
0
    // =============================================================================



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

    void Awake()
    {
        base.Awake();
        MeasurementScript = GameObject.FindObjectOfType(typeof(MeasurementFirePort)) as MeasurementFirePort;

        Nose = gameObject.GetComponentInChildren <LayerSetterElement>();

        Audio.clip = SoundSuccess;
    }
Ejemplo n.º 2
0
    // =============================================================================
    // =============================================================================
    // METHODS UNITY ---------------------------------------------------------------
    void Awake()
    {
        base.Awake();
        MeasurementScript = GameObject.FindObjectOfType( typeof(MeasurementFirePort) ) as MeasurementFirePort;

        Nose = gameObject.GetComponentInChildren<LayerSetterElement>();

        Audio.clip = SoundSuccess;
    }