void Start() { myHingeJoint = GetComponent <HingeJoint2D>(); motor2D = myHingeJoint.motor; signalHandler = GameObject .FindGameObjectWithTag(Constants.SIGNAL_HANDLER_TAG) .GetComponent <SignalHandlerScript>(); }
void Start() { signalHandler = Finder.GetSignalHandler(); game = Finder.GetGameController(); game.LoadRanking(false); currentPosition = LLPosition.First; }
void Start() { Letters[letterSelect].text = alphabet[stepper].ToString(); Letters[letterSelect].color = AlfaColor; Input.ResetInputAxes(); nextText = GameObject.Find("Button"); game = Finder.GetGameController(); signalHandler = Finder.GetSignalHandler(); }
void Start() { signalHandler = Finder.GetSignalHandler(); game = Finder.GetGameController(); game.LoadRanking(false); currentPosition = LLPosition.First; if (audioSource == null) { audioSource = GetComponent <AudioSource>(); } }
private void Start() { hinge = GetComponent <HingeJoint>(); hinge.useSpring = true; signalHandler = GameObject .FindGameObjectWithTag(Constants.SIGNAL_HANDLER_TAG) .GetComponent <SignalHandlerScript>(); audioSource = GetComponent <AudioSource>(); }
// Start is called before the first frame update void Start() { if (musicSource == null) { musicSource = GetComponent <AudioSource>(); } signalHandler = Finder.GetSignalHandler(); musicSource.clip = soundtrack[currentMusic]; musicSource.volume = 0.5F; musicPassed = false; elapsedTime = 0F; musicSource.Play(); }
private void Start() { signalHandler = Finder.GetSignalHandler(); audioSource = GetComponent <AudioSource>(); }
void Start() { signalHandler = Finder.GetSignalHandler(); LoadMenu(); }