Exemple #1
0
    //public Transform hoverTo; // For hover with lerp.

    void Awake()
    {
        iniHovCurDur       = hoverCurDur;
        iniStartHoverDelay = startHoverDelay;
        if (!audioScenePuzzScript)
        {
            audioScenePuzzScript = GameObject.FindGameObjectWithTag("Audio").GetComponent <AudioScenePuzzleGeneric>();
        }
    }
 void Start()
 {
     silverEggsPickedUp   = GlobalVariables.globVarScript.silverEggsCount;
     audioScenePuzzScript = GameObject.Find("Audio").GetComponent <AudioScenePuzzleGeneric>();
 }
Exemple #3
0
 void Awake()
 {
     audioScenePuzGenScript = GameObject.FindGameObjectWithTag("Audio").GetComponent <AudioScenePuzzleGeneric>();
 }