Exemplo n.º 1
0
    // =============================================================================



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

    void Awake()
    {
        base.Awake();

        Nose = gameObject.GetComponentInChildren <LayerSetterElement> ();

        Audio.clip = SoundSuccess;
    }
Exemplo n.º 2
0
    // =============================================================================



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

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

        Nose = gameObject.GetComponentInChildren <LayerSetterElement>();

        Audio.clip = SoundSuccess;
    }
Exemplo n.º 3
0
    // =============================================================================



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

    void Awake()
    {
        base.Awake();

        PlayerMov = Player.GetComponent <PlayerMovement> ();
        //dan
        //PlayerRot = Player.GetComponent<PlayerRotation> ();
        Layer        = gameObject.GetComponent <LayerSetterElement> ();
        EquipManager = GameObject.FindObjectOfType(typeof(EquipmentManager)) as EquipmentManager;    // = NULL !!! Da "Equiptment" vom Player aus dem ISS-Projekt nicht übernommen wurde.
    }
Exemplo n.º 4
0
    // =============================================================================
    // =============================================================================
    // METHODS UNITY ---------------------------------------------------------------
    void Awake()
    {
        base.Awake ();

        PlayerMov = Player.GetComponent<PlayerMovement> ();
        //dan
        //PlayerRot = Player.GetComponent<PlayerRotation> ();
        Layer = gameObject.GetComponent<LayerSetterElement> ();
        EquipManager = GameObject.FindObjectOfType ( typeof(EquipmentManager) ) as EquipmentManager; // = NULL !!! Da "Equiptment" vom Player aus dem ISS-Projekt nicht übernommen wurde.
    }
Exemplo n.º 5
0
    // =============================================================================
    // =============================================================================
    // METHODS UNITY ---------------------------------------------------------------
    void Awake()
    {
        base.Awake();
        MeasurementScript = GameObject.FindObjectOfType( typeof(MeasurementFirePort) ) as MeasurementFirePort;

        Nose = gameObject.GetComponentInChildren<LayerSetterElement>();

        Audio.clip = SoundSuccess;
    }
Exemplo n.º 6
0
    // =============================================================================
    // =============================================================================
    // METHODS UNITY ---------------------------------------------------------------
    void Awake()
    {
        base.Awake ();

        Nose = gameObject.GetComponentInChildren<LayerSetterElement> ();

        Audio.clip = SoundSuccess;
    }