//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>(); }
void Awake() { audioScenePuzGenScript = GameObject.FindGameObjectWithTag("Audio").GetComponent <AudioScenePuzzleGeneric>(); }