private OreDurability block; // block to mine private void Awake() { csGlobal = FindObjectOfType <CsGlobal>(); _gridBehavior = FindObjectOfType <GridBehavior>(); animatorController = FindObjectOfType <CharacterAnimatorController>(); SetInfoActive(false); }
private void Awake() { if (onDescending == null) { new UnityEvent(); } _player = GameObject.FindGameObjectWithTag("Player"); _gridBehavior = FindObjectOfType <GridBehavior>(); _csGlobal = FindObjectOfType <CsGlobal>(); oreGenerator = FindObjectOfType <OreGenerator>(); generateLevel = FindObjectOfType <GenerateLevel>(); progressBar = FindObjectOfType <ProgressBar>(); _canvas = FindObjectOfType <Canvas>(); _dataController = FindObjectOfType <DataController>(); }
private void Awake() { _gridBehavior = FindObjectOfType <GridBehavior>(); csGlobal = FindObjectOfType <CsGlobal>(); rigidBody = gameObject.GetComponent <Rigidbody2D>(); animatorController = FindObjectOfType <CharacterAnimatorController>(); if (atStop == null) { new UnityEvent(); } if (whenMovementResumes == null) { new UnityEvent(); } }
private void App_OnStartup(object sender, StartupEventArgs e) { CsGlobal.Install(CsGlobalFunctions.Persistency); PocoFrameImage.Mocks.HandleEvent(); PocoAudioRingEntry.Mock.HandleEvent(); PocoFrameVideo.Mocks.HandleEvent(); //return; var presentationRing = FrameRingPresenter.GetMock(new DateTime(2017, 1, 1, 0, 0, 0, 0), TimeSpan.FromMinutes(1)).ConvertTo_Json().ConvertFrom_Json <PocoFrameRing>(); var audioRing = presentationRing.CreateGapFillingAudioRing(new List <Guid> { Guid.Empty }).ConvertTo_Json().SaveAs_Utf8String_OnDesktop_AndOpen("sample.json").ConvertFrom_Json <PocoAudioRing>(); audioRing.Play(); presentationRing.ShowDialog(); Current.Shutdown(); }
private void Awake() { _csGlobal = FindObjectOfType <CsGlobal>(); _gameManager = FindObjectOfType <GameManager>(); }
private void Awake() { csGlobal = FindObjectOfType <CsGlobal>(); }