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
| #if UNITY_IOS | |
| using UnityEditor; | |
| using UnityEditor.Callbacks; | |
| using System.IO; | |
| using UnityEditor.iOS.Xcode; | |
| using UnityEngine; | |
| public class IPhoneXStatusBarSetting | |
| { |
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 UnityEditor; | |
| using System.Linq; | |
| using System.IO; | |
| using System; | |
| public class CustomCopyComponent : EditorWindow | |
| { |
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.Generic; | |
| using UnityEngine; | |
| using UnityEditor; | |
| using System.Linq; | |
| using UnityEditor.Animations; | |
| using System.IO; | |
| using System; | |
| namespace CustomSearchReplace | |
| { |
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
| #coding: UTF-8 | |
| from requests_oauthlib import OAuth1Session | |
| import json | |
| import os | |
| import sys, time, calendar | |
| #twitterのapiを使用する際の認証 | |
| CONSUMER_KEY = "〜〜〜" | |
| CONSUMER_SECRET = "〜〜〜" | |
| ACCESS_TOKEN = "〜〜〜" |
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
| public class Missile : MonoBehaviour | |
| { | |
| public Transform target; | |
| public Vector3 velocity; | |
| public Vector3 position; | |
| public float period; | |
| //最大加速度 | |
| public float maxAcceleration = 100; |
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; | |
| public class Missile : MonoBehaviour | |
| { | |
| public Transform target; | |
| public float torqueRatio; | |
| public float speed; | |
| void FixedUpdate() | |
| { |
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 UnityEngine.UI; | |
| using System.Collections.Generic; | |
| using System; | |
| [DisallowMultipleComponent] | |
| [ExecuteInEditMode] | |
| [RequireComponent(typeof(Subdivide))] | |
| public class WaveMeshEffect : BaseMeshEffect | |
| { |
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 UnityEngine; | |
| using UnityEngine.Experimental.Rendering; | |
| using UnityEngine.Experimental.Rendering.LightweightPipeline; | |
| using UnityEngine.Rendering; | |
| /// <summary> | |
| /// Render all transparent forward objects into the given color and depth target |
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 UnityEngine.Experimental.Rendering; | |
| using UnityEngine.Experimental.Rendering.LightweightPipeline; | |
| using UnityEngine.Rendering; | |
| using System; | |
| class CustomRendererSetup : MonoBehaviour, IRendererSetup | |
| { |
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
| [Serializable] | |
| public class HierarchyFrameData | |
| { | |
| public float frameFps; | |
| public float frameTimeMs; | |
| public float frameGpuTimeMs; | |
| public float frameIndex; | |
| public List<HierarchyItemFrameData> hierarchyFrameData = new List<HierarchyItemFrameData>(); | |
| } |