private void RunInitialChecks() { _renderer = GetComponent <SpriteRenderer>(); Supporting.CheckRequiredProperty(gameObject, _renderer, "Spirte Renderer"); Supporting.CheckRequiredProperty(gameObject, _wind, "Wind"); }
private void Start() { Supporting.CheckRequiredProperty(gameObject, _canvas, "Canvas"); Supporting.CheckRequiredProperty(gameObject, _display, "Display"); Supporting.CheckRequiredProperty(gameObject, _statusNodesIdle, "StatusNodeIdle"); Supporting.CheckRequiredProperty(gameObject, _statusNodesCorrect, "StatusNodeCorrect"); Supporting.CheckRequiredProperty(gameObject, _statusNodesWrong, "StatusNodeWrong"); Supporting.CheckRequiredProperty(gameObject, _btn0, "Button 0"); Supporting.CheckRequiredProperty(gameObject, _btn1, "Button 1"); Supporting.CheckRequiredProperty(gameObject, _btn2, "Button 2"); Supporting.CheckRequiredProperty(gameObject, _btn3, "Button 3"); Supporting.CheckRequiredProperty(gameObject, _btn4, "Button 4"); Supporting.CheckRequiredProperty(gameObject, _btn5, "Button 5"); Supporting.CheckRequiredProperty(gameObject, _btn6, "Button 6"); Supporting.CheckRequiredProperty(gameObject, _btn7, "Button 7"); Supporting.CheckRequiredProperty(gameObject, _btn8, "Button 8"); Supporting.CheckRequiredProperty(gameObject, _btn9, "Button 9"); Supporting.CheckRequiredProperty(gameObject, _btnEnter, "Button Enter"); Supporting.CheckRequiredProperty(gameObject, _btnBack, "Button Back"); Supporting.CheckRequiredProperty(gameObject, _btnExit, "Button Exit"); Supporting.CheckRequiredProperty(gameObject, _audioSource, "AudioSource"); _defaultColor = display.color; BindButtons(); }
private void RunInitialChecks() { Supporting.CheckRequiredProperty(gameObject, _rb, "Rigidboy"); Supporting.CheckRequiredProperty(gameObject, _gapCheck, "Gap Check"); Supporting.CheckRequiredProperty(gameObject, _floorCheck, "Jump Level Check"); Supporting.CheckRequiredProperty(gameObject, _landingCheck, "Jump High Check"); Supporting.CheckRequiredProperty(gameObject, _runnerAnimator, "Runner Animator"); }
private void RunInitialChecks() { Supporting.CheckRequiredProperty(gameObject, _shrinked, "Shrinked Sprite"); Supporting.CheckRequiredProperty(gameObject, _expanded, "Expanded Sprite"); _collider = GetComponent <BoxCollider2D>(); Supporting.CheckRequiredProperty(gameObject, _collider, "Collider"); }
private void RunInitialChecks() { // Find the player _target = GameController.instance.character; if (Supporting.CheckRequiredProperty(gameObject, _target, "Target")) { _offset = _target.position.x - transform.position.x; } }
private void RunInitialChecks() { _slider = GetComponent <SliderJoint2D>(); Supporting.CheckRequiredProperty(gameObject, _slider, "Slider Joint"); }
private void RunInitialChecks() { _rb = GetComponent <Rigidbody2D>(); Supporting.CheckRequiredProperty(gameObject, _rb, "Rigidbody"); }
private void RunInitialChecks() { Supporting.CheckRequiredProperty(gameObject, _animator, "Animator"); Supporting.CheckRequiredProperty(gameObject, _particles, "Particle System"); }