private void Start() { DOTween.Init(); gravity = Physics2D.gravity; }
private void Start() { DOTween.Init(true, true, LogBehaviour.Verbose); }
// Use this for initialization void Start() { text.color = noAlpha; startPos = transform.position; DOTween.Init(); }
// Start is called before the first frame update void Start() { DOTween.Init(); }
protected override void Awake() { base.Awake(); DOTween.Init(); }
// Use this for initialization void Start() { DOTween.Init(); transform = GetComponent <RectTransform>(); image = GetComponent <Image>(); }
private void init() { Core.Setup(); DOTween.Init(false, true, LogBehaviour.ErrorsOnly); }
public void Awake() { DOTween.Init(false, true, LogBehaviour.ErrorsOnly); }
public void onTweenTo(Transform Moveto) { DOTween.Init(false, true, LogBehaviour.ErrorsOnly); tParms = new TweenParams().SetDelay(this.waitTime).SetLoops(this.LoopTimes, this.loopType).SetEase(this.easeType).OnStart(onStartCallback).OnComplete(onCompleteCallback).SetId(this.name); onPlayTween(Moveto); }
void Start() { DOTween.Init(); teamPortrait.sprite = teamUnlockAllImage [teamPos_Slot]; }
void Start() { DOTween.Init(true, false, LogBehaviour.Verbose); spawnsParent = new GameObject("Spawn Container").transform; }
private void Awake() { DOTween.Init(); }
// Use this for initialization void Start() { DOTween.Init(false, true, LogBehaviour.ErrorsOnly); }
void Start() { DOTween.Init(); DOTween.defaultTimeScaleIndependent = true; ReInput.ControllerConnectedEvent += (ControllerStatusChangedEventArgs obj) => GamepadsChange(); ReInput.ControllerDisconnectedEvent += (ControllerStatusChangedEventArgs obj) => GamepadsChange(); OnStartModeClick += ShowStaticModesLogos; GlobalVariables.Instance.OnRestartMode += ShowStaticModesLogos; GlobalVariables.Instance.OnGamepadDisconnected += GamepadDisconnected; GlobalVariables.Instance.OnMenu += HideStaticModesLogos; GlobalVariables.Instance.OnStartMode += ModeLogo; GlobalVariables.Instance.OnRestartMode += ModeLogo; GlobalVariables.Instance.OnPlayerDeath += OnPlayerDeath; GlobalVariables.Instance.OnPlaying += () => eventSyst.SetSelectedGameObject(null); GlobalVariables.Instance.OnEndMode += () => { HidePassFightButton(); StopCoroutine(PassFight()); }; GlobalVariables.Instance.OnMenu += () => { playText.text = "PLAY"; escBackButton.SetActive(true); HidePassFightButton(); if (resumeButtons.anchoredPosition.x != resumeButtonsPositions.x) { resumeButtons.DOAnchorPosX(resumeButtonsPositions.x, animationDuration).SetEase(easeMenu); } }; GlobalVariables.Instance.OnEndMode += () => { playText.text = "PLAY"; escBackButton.SetActive(true); if (resumeButtons.anchoredPosition.x != resumeButtonsPositions.x) { resumeButtons.DOAnchorPosX(resumeButtonsPositions.x, animationDuration).SetEase(easeMenu); } }; GlobalVariables.Instance.OnPause += () => { playText.text = "NEW"; escBackButton.SetActive(false); if (resumeButtons.anchoredPosition.x != resumeButtonsPositions.y) { resumeButtons.DOAnchorPosX(resumeButtonsPositions.y, animationDuration).SetEase(easeMenu); } }; resumeButtons.DOAnchorPosX(resumeButtonsPositions.x, 0).SetEase(easeMenu); mainMenu.SetActive(true); mainMenuScript = mainMenu.GetComponent <MenuComponent>(); eventSyst = GameObject.FindGameObjectWithTag("EventSystem").GetComponent <EventSystem>(); mainCamera = GameObject.FindGameObjectWithTag("MainCamera"); cameraMovement = mainCamera.GetComponent <MenuCameraMovement>(); backButtonsScript = backButtons.transform.GetComponentsInChildren <BackButtonsFeedback>(); resumeButtonsScript = resumeButtons.transform.GetComponentsInChildren <ResumeButtonsFeedback>(); modesLogoScale = modesLogosCanvas.localScale.x; modesLogosCanvas.localScale = Vector3.zero; modesLogosCanvas.gameObject.SetActive(false); foreach (Transform t in staticModesLogosParent) { foreach (Transform c in t) { c.gameObject.SetActive(false); } } foreach (var m in Resources.FindObjectsOfTypeAll <MenuComponent> ()) { m.SetupMenu(); } for (int i = 0; i < elementsToEnable.Count; i++) { if (elementsToEnable[i] != null) { elementsToEnable[i].SetActive(true); } } StartCoroutine(WaitStartScreen()); }
void Start() { DOTween.Init(); hasTap = false; }
void Awake() { DOTween.Init(); DOTween.logBehaviour = LogBehaviour.ErrorsOnly; }
// Start is called before the first frame update void Start() { DOTween.Init(true, false, LogBehaviour.ErrorsOnly); blurMaterial = blurRenderer.material; }
private void Start() { DOTween.Init(); LobbyMenu(); }
// Use this for initialization void Start() { //初期化 DOTween.Init(true, false, LogBehaviour.Default); }
private void Start() { DOTween.Init(); }
// Use this for initialization void Start() { DOTween.Init(); NetworkManager.Instance.Init(); BattleManager.Instance.Init(mObj); }
// Start is called before the first frame update void Start() { DOTween.Init(); this.canvasGroup = GetComponent <CanvasGroup>(); }
void Start() { DOTween.Init(false, false, LogBehaviour.Default); }
private void Awake() { _instance = this; DOTween.Init(true, true, LogBehaviour.Default); }
public override void Load() { DOTween.Init(); }
private void Start() { DOTween.Init(); controlManager = ControlManager.Instance; }
// Use this for initialization void Start() { DOTween.Init(false, true, LogBehaviour.ErrorsOnly); gameObject.transform.DOScale(new Vector3(0.08f, 0.08f, 1f), 0.5f); }