This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private function createHealthCounters():Void { | |
| _currentHealthCounterText = new FlxText(_coreHealthBar.x - 30 , 17, "" + _core.health); | |
| _targetHealthCounterText = new FlxText(_coreHealthBar.x + _coreHealthBar.width + 13, 17, "" + _waveManager.target); | |
| add(_currentHealthCounterText); | |
| add(_targetHealthCounterText); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # in sqlobject/main.py replace this method | |
| def addColumnsFromDatabase(sqlmeta, connection=None): | |
| soClass = sqlmeta.soClass | |
| conn = connection or soClass._connection | |
| import tempfile | |
| import pickle | |
| import os | |
| temp_dir = tempfile.gettempdir() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set -g prefix C-a | |
| unbind C-b | |
| set -s escape-time 1 | |
| set -g base-index 1 | |
| set -g pane-base-index 1 | |
| setw -g pane-base-index 1 | |
| bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
| bind a send-prefix | |
| bind | split-window -h | |
| bind - split-window -v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file has been auto-generated by i3-config-wizard(1). | |
| # It will not be overwritten, so edit it as you like. | |
| # | |
| # Should you change your keyboard layout some time, delete | |
| # this file and re-run i3-config-wizard(1). | |
| # | |
| # i3 config file (v4) | |
| # | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| /// <summary> | |
| /// Be aware this will not prevent a non singleton constructor | |
| /// such as `T myT = new T();` | |
| /// To prevent that, add `protected T () {}` to your singleton class. | |
| /// | |
| /// As a note, this is made as MonoBehaviour because we need Coroutines. | |
| /// </summary> | |
| public class Singleton<T> : MonoBehaviour where T : MonoBehaviour |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using DoozyUI; | |
| using UnityEngine; | |
| using UnityEngine.Events; | |
| using UnityEngine.UI; | |
| public class RateUsManager : MonoBehaviour | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using Sirenix.OdinInspector; | |
| using Sirenix.OdinInspector.Editor; | |
| using Sirenix.Utilities; | |
| using Sirenix.Utilities.Editor; | |
| using UnityEditor; | |
| using UnityEngine; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using DoozyUI; | |
| using TMPro; | |
| using UnityEngine; | |
| using UnityEngine.Purchasing; | |
| using UnityEngine.SceneManagement; | |
| namespace YakDogGames |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| namespace YakDogGames | |
| { | |
| public class GameManager : MoreMountains.InfiniteRunnerEngine.GameManager | |
| { | |
| public override void LoseLives(int lives) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class AccelerationControl : MonoBehaviour | |
| { | |
| public float Speed = 50f; | |
| // Use this for initialization | |
| void Start () { |