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.Diagnostics; | |
using Fusion; | |
using UnityEngine; | |
using Debug = UnityEngine.Debug; | |
namespace AAA | |
{ | |
public sealed class FusionTest : MonoBehaviour | |
{ | |
public int scene; |
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; | |
using System.Collections.Generic; | |
using Unity.Collections; | |
using UnityEngine; | |
using UnityEngine.Assertions; | |
using Random = UnityEngine.Random; | |
namespace TankGame.Client.Common | |
{ | |
/// <summary> |
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
/// <summary> | |
/// Send an email from <param name="fromEmail"></param> to <param name="toEmail"></param> and returns the | |
/// <see cref="Thread"/> that is sending the email, so you can <see cref="Thread.Abort()"/> it later to cancel it. | |
/// </summary> | |
/// <param name="fromEmail">Email of the sender</param> | |
/// <param name="password">Password of the sender</param> | |
/// <param name="smtpHost">SMTP host address of the server's email service provider. Some common addresses are: | |
/// <list type="bullet"> | |
/// <item>Outlook: <c>smtp-mail.outlook.com</c></item> | |
/// <item>Office 356: <c>smtp.office365.com</c></item> |
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
// #define CACHEABLEOPERATION_VERBOSE | |
using System.Collections.Generic; | |
using System.Threading; | |
using System.Threading.Tasks; | |
#if CACHEABLEOPERATION_VERBOSE | |
using UnityEngine; | |
#endif |
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_EDITOR | |
using UnityEditor; | |
using UnityEngine; | |
public class SimpleAnimationClipRename : EditorWindow { | |
[MenuItem( "Window/AnimationClipSuperRename" )] | |
public static void ShowWindow() { | |
GetWindow<SimpleAnimationClipRename>( "AnimationClipSuperRename" ); | |
} |
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.Generic; | |
using System; | |
using System.Linq; | |
using UnityEngine; | |
[Serializable] | |
public class UpgradeTimerManager { | |
public string id { get; private set; } |
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
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) | |
Shader "UI/Blurred Background" { | |
Properties { | |
_Blur ("Blur", Range(0, 1)) = 0.5 | |
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} | |
_Color ("Tint", Color) = (1,1,1,1) | |
_StencilComp ("Stencil Comparison", Float) = 8 |
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; | |
using System.Globalization; | |
using System.Net.Sockets; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif |
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_EDITOR | |
using UnityEngine; | |
using UnityEditor; | |
[RequireComponent( typeof(Camera) )] | |
public class GameViewRender : MonoBehaviour { | |
public int width = 1920; | |
public int height = 1080; | |
public int depth = 24; |
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; | |
using UnityEngine.Serialization; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
[ExecuteAlways] | |
public class SortOrderOffset : MonoBehaviour { | |
NewerOlder