// Token: 0x060031BC RID: 12732 RVA: 0x000D01BC File Offset: 0x000CE3BC public void Awake() { this.m_nullify = delegate() { this.m_lastLoop = null; }; SuspensionManager.Register(this); this.Direction = Vector3.left; this.Speed = 0f; this.m_collider = base.GetComponent <Collider>(); this.Rigidbody = base.GetComponent <Rigidbody>(); DamageDealer component = base.GetComponent <DamageDealer>(); if (component) { DamageDealer damageDealer = component; damageDealer.OnDamageDealtEvent = (Action <GameObject, Damage>)Delegate.Combine(damageDealer.OnDamageDealtEvent, new Action <GameObject, Damage>(this.OnDamageDealt)); } if (this.ProjectileLoop) { this.m_lastLoop = Sound.Play(this.ProjectileLoop.GetSound(null), base.transform.position, this.m_nullify); if (this.m_lastLoop) { this.m_lastLoop.AttachTo = base.transform; } } this.m_originalGravity = this.Gravity; }
// Token: 0x06002090 RID: 8336 RVA: 0x0001C3AA File Offset: 0x0001A5AA public new void Awake() { base.Awake(); this.m_rigidbody = base.GetComponent <Rigidbody>(); this.m_rigidbody.sleepThreshold = 0f; SuspensionManager.Register(this); }
// Token: 0x06002CE3 RID: 11491 RVA: 0x00024BA8 File Offset: 0x00022DA8 public override void Awake() { base.Awake(); TeleporterController.Instance = this; SuspensionManager.Register(this); Events.Scheduler.OnGameReset.Add(new Action(this.OnGameReset)); this.DontTeleportForAnimationTesting = false; }
// Token: 0x06000314 RID: 788 RVA: 0x00037AB4 File Offset: 0x00035CB4 public void Awake() { OptionsScreen.Instance = this; SuspensionManager.Register(this); CleverMenuItemSelectionManager navigation = this.Navigation; navigation.OnBackPressedCallback = (Action)Delegate.Combine(navigation.OnBackPressedCallback, new Action(this.OnBackPressed)); this.AddSubscreen <KeybindsScreen>("KEYBINDS", 2); this.AddSubscreen <MenuKeybindsScreen>("MENU KEYBINDS", 3); this.AddSubscreen <ControllerBindsScreen>("CONTROLLER BINDS", 4); this.AddSubscreen <ControllerMenuBindsScreen>("CONTROLLER MENU BINDS", 5); }
// Token: 0x06001777 RID: 6007 RVA: 0x0007B7BC File Offset: 0x000799BC public override void Awake() { SuspensionManager.Register(this); if (this.FrustrumOptimized) { CameraFrustumOptimizer.Register(this); } SceneRoot sceneRoot = SceneRoot.FindFromTransform(base.transform); if (sceneRoot != null) { this.SceneRootGUID = sceneRoot.MetaData.SceneMoonGuid; } base.Awake(); }
// Token: 0x0600342F RID: 13359 RVA: 0x000D6CF8 File Offset: 0x000D4EF8 public IEnumerator Start() { GameplayCamera currentCamera = UI.Cameras.Current; currentCamera.ChangeTargetToCurrentCharacter(); Scenes.Manager.EnableDisabledScenesAtPosition(false); currentCamera.UpdateTargetHelperPosition(); currentCamera.MoveCameraToTargetPosition(); currentCamera.OffsetController.UpdateOffset(true); currentCamera.MoveCameraToTargetInstantly(true); yield return(new WaitForFixedUpdate()); GameSettings.Instance.LoadSettings(); this.CreateCheckpoint(); SaveSceneManager.Master.RegisterGameObject(this.m_systemsGameObject); SuspensionManager.Register(this); if (!this.IsTrial) { WaitForSaveGameLogic.OnCompletedStatic = (Action)Delegate.Combine(WaitForSaveGameLogic.OnCompletedStatic, new Action(AchievementsLogic.Instance.HandleTrialAchievements)); } yield break; }
// Token: 0x060018DE RID: 6366 public override void Awake() { this.m_rigidbody = base.GetComponent <Rigidbody>(); SuspensionManager.Register(this); base.Awake(); }
// Token: 0x060000AE RID: 174 RVA: 0x00002AE2 File Offset: 0x00000CE2 public void Awake() { SuspensionManager.Register(this); }
// Token: 0x06000AF7 RID: 2807 RVA: 0x0000A919 File Offset: 0x00008B19 public new void Awake() { base.Awake(); SuspensionManager.Register(this); this.m_transform = base.transform; }
// Token: 0x06002FD7 RID: 12247 RVA: 0x00026684 File Offset: 0x00024884 public override void Awake() { base.Awake(); this.Transform = base.transform; SuspensionManager.Register(this); }
// Token: 0x060031E6 RID: 12774 public override void Awake() { this.TimeSinceLastShot = float.MaxValue; base.Awake(); SuspensionManager.Register(this); }
public void Awake() { Instance = this; SuspensionManager.Register(this); }