This file contains 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
name: push | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
windows-build: | |
runs-on: windows-latest | |
steps: |
This file contains 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 System.Threading; | |
using System; | |
using System.Net; | |
using System.Text.RegularExpressions; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
using SimpleJSON; |
This file contains 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
#if UNITY_IOS | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using System.IO; | |
using UnityEditor.iOS.Xcode; | |
using UnityEngine; | |
public class IPhoneXStatusBarSetting | |
{ |
This file contains 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> | |
/// ~ Fps counter for unity ~ | |
/// Brief : Calculate the FPS and display it on the screen | |
/// HowTo : Create empty object at initial scene and attach this script!!! | |
/// </summary> | |
public class UniFPSCounter : MonoBehaviour | |
{ | |
// for ui. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
import sys | |
import win32api | |
import win32security | |
import win32event | |
import win32gui | |
sa = win32security.SECURITY_ATTRIBUTES() | |
sa.SECURITY_DESCRIPTOR.SetSecurityDescriptorDacl(True, None, False) | |
# saを指定しておかないと別のユーザで起動したときにMutexが衝突しなくなる | |
mutex = win32event.CreateMutex(sa, False, 'unique-string...') | |
err = win32api.GetLastError() |