- 13 is bigger, bulkier and heavier
- has big notch area at top
- camera lenses are so big that if you have your phone on the table, it tilts every time you click left side of the screen
- Phone sides are slippery like plastic?
- difficult to lift from table, easily drops especially since its so heavy and tilts due to camera lenses
- Difficult reset button (need to press multiple buttons)
- much worse battery live vs iphone5
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
| // ==UserScript== | |
| // @name itch.io full screen image viewer | |
| // @namespace https://unitycoder.com | |
| // @description better image viewer lightbox for pixel art images | |
| // @version 1.0 | |
| // @include https://*.itch.io/* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== |
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; | |
| // https://forum.unity.com/threads/touch-camera-rotation.659935/#post-4800458 | |
| public class Mobile360Cam : MonoBehaviour | |
| { | |
| public float ySpeed = 5; | |
| Vector2 firstpoint, secondpoint; |
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
| // https://forum.unity.com/threads/can-anyone-give-me-a-quick-rundown-of-the-basics-of-a-handwritten-urp-shader-vs-in-built.757823/#post-7530506 | |
| Shader "URP/Unlit/SimpleWater" | |
| { | |
| Properties | |
| { | |
| _Tint("Tint", Color) = (1, 1, 1, .5) | |
| _MainTex("Main Texture", 2D) = "white" {} | |
| _NoiseTex("Extra Wave Noise", 2D) = "white" {} | |
| _Speed("Wave Speed", Range(0,1)) = 0.5 | |
| _Amount("Wave Amount", Range(0,1)) = 0.5 |
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
| // https://forum.unity.com/threads/using-nethereum-with-unity3d-2021-1-22f1.1178602/ | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using Nethereum.JsonRpc.UnityClient; | |
| public class CallNode : MonoBehaviour | |
| { | |
| // Start is called before the first frame update |
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
| // https://unitycoder.com/blog/2021/10/09/draw-new-unity-logo-using-surface-shader-default-cube/ | |
| Shader "Custom/UnityLogoShader" | |
| { | |
| Properties | |
| { | |
| _Color ("Color", Color) = (1,1,1,1) | |
| _MainTex ("Albedo (RGB)", 2D) = "white" {} | |
| _Glossiness ("Smoothness", Range(0,1)) = 0.5 | |
| _Metallic ("Metallic", Range(0,1)) = 0.0 | |
| } |
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
| // https://forum.unity.com/threads/contribution-texture2d-blur-in-c.185694/#post-7550443 | |
| using System.Collections.Generic; | |
| using System.Threading.Tasks; | |
| using Unity.Collections; | |
| using UnityEngine; | |
| [ExecuteInEditMode] | |
| public class ParallelGaussianBlur : MonoBehaviour { | |
| // The MIT License |
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
| // https://forum.unity.com/threads/how-do-i-implement-item-durability-and-unique-item-id-to-instantiated-items.1179622/ | |
| class ItemTemplate : ScriptableObject | |
| { | |
| public int baseDurability; | |
| public int baseDamage; | |
| // etc | |
| } | |
| class Item : 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
| // https://forum.unity.com/threads/c-encryption-decryption-class-that-works-good-in-a-project.394688/ | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using System.Security.Cryptography; | |
| using System.IO; | |
| public class Cryptography : MonoBehaviour | |
| { | |
| byte[] Encode(byte[] bytes, byte[] key, byte[] vector) |