Stats
In-Game Mods | Productivity Mods
using UnityEngine.Rendering.PostProcessing; | |
public PostProcessVolume pVolume; | |
public Slider occSlider; | |
public class PostProcessingManager : MonoBehaviour | |
{ | |
private void SetPostProcessing() | |
{ |
using UnityEngine; | |
using System; | |
public class CLIArguments : MonoBehaviour | |
{ | |
static string cliString = ""; | |
void Start() | |
{ | |
string[] arguments = Environment.GetCommandLineArgs(); |
Stats
In-Game Mods | Productivity Mods
* text=auto | |
# Unity files | |
*.meta -text -merge=unityamlmerge | |
*.unity -text -merge=unityamlmerge | |
*.asset -text -merge=unityamlmerge | |
*.prefab -text -merge=unityamlmerge | |
# Image formats | |
*.psd filter=lfs diff=lfs merge=lfs -text |
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 12, | |
// font family with optional fallbacks | |
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace', | |
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
cursorColor: 'rgba(248,28,229,0.8)', |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
shell: 'C:\\Windows\\System32\\bash.exe', | |
shellArgs: [], | |
// Choose either "stable" for receiving highly polished, | |
// or "canary" for less polished but more frequent updates |
using UnityEngine; | |
using UnityEditor; | |
[ExecuteInEditMode] | |
public class GroupUnityObjects : Editor | |
{ | |
[MenuItem("Edit/Group %g", false)] | |
public static void Group() | |
{ | |
if (Selection.transforms.Length > 0) |
override func viewDidLoad() { | |
super.viewDidLoad() | |
//Notify the selector function when UIApplicationWillResignActive | |
NotificationCenter.default.addObserver(self, selector: #selector(appMovedToBackground), name: .UIApplicationWillResignActive, object: nil) | |
} | |
func appMovedToBackground() { | |
//Optional Delay before doing any action | |
//Waits 5 sec before checking app state | |
DispatchQueue.main.asyncAfter(deadline: .now() + 5.0) { |
//Conversion | |
import UIKit | |
//String To Int | "123" -> 123 | |
var str = "123" | |
var int = 0 |