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> | |
/// Put this monobehaviour on any object in the Scene. Now any PRESSED keyboard key or mouse button or scrollwheel.y or joystick button (up to four axes) will Debug Log for identification. | |
/// </summary> | |
public class DebugInputPressed : MonoBehaviour | |
{ | |
public bool checkAxes = false; | |
[Tooltip("For XboxOne Windows 10 Right Trigger: Set up in Input Manager as Joystick 1, type: Axis, Axis: 3rd axis")] |
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; | |
using MoreMountains.CorgiEngine; | |
using MoreMountains.Tools; | |
using System.Text; | |
using MoreMountains.InventoryEngine; | |
public class DebugLogCorgiEvents : MonoBehaviour, | |
MMEventListener<MMGameEvent>, |
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 MoreMountains.Tools; | |
using UnityEngine; | |
namespace MoreMountains.CorgiEngine | |
{ | |
/// <summary> | |
/// Add this component to a character and it'll be able to jetpack | |
/// NOTE: This custom extended version doesn't perform a horizontal flip of the jetpack emission point | |
/// because that flip already happens on the parent for some PlayableCharacter prefabs | |
/// NOTE: It also prevents a bug in v6.1 that causes Jetpack refuel sounds and particles to play |
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; | |
using System.Collections; | |
using MoreMountains.Tools; | |
using System; | |
using System.Collections.Generic; | |
using MoreMountains.Feedbacks; | |
using UnityEngine.Audio; | |
namespace MoreMountains.CorgiEngine | |
{ |
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; | |
using MoreMountains.Tools; | |
using UnityEngine.Events; | |
public class MMGameEventToUnityEvent : MonoBehaviour, MMEventListener<MMGameEvent> | |
{ | |
public string MMGameEventName = ""; | |
public UnityEvent events; |
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; | |
using MoreMountains.Tools; | |
namespace MoreMountains.CorgiEngine | |
{ | |
/// <summary> | |
/// Add this class to a character so it is prevented from shooting while in a specified MovementState, | |
/// such as WallClinging, Crouching, LookingUp, LedgeHanging, etc |
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; | |
[SelectionBase] | |
public class SelectionBase : 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.Collections; | |
using UnityEngine; | |
using UnityEngine.UI; | |
namespace Gamekit2D | |
{ | |
public class ScreenFader : MonoBehaviour | |
{ | |
public enum FadeType | |
{ |
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; | |
using System.Collections.Generic; | |
using System; | |
using UnityEngine.Events; | |
[RequireComponent(typeof(AudioSource))] | |
public class CheatCodeDetector : MonoBehaviour | |
{ | |
[SerializeField] private List<Cheat> cheats = new List<Cheat>(); |