- 2xAA
- Disable real time shadows
- Disable "Use 32-bit Display Buffer"
- Stick with Forward or Vertex rendering
- Enable Multithreaded Rendering
- Enable Static and Dynamic batching
- Graphic Jobs MAY improve performance Source
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; | |
[RequireComponent(typeof(Camera))] | |
public class GameCamera : MonoBehaviour | |
{ | |
[Header("Runtime attributes")] [Tooltip("The point the camera is looking at")] | |
public Transform cameraTarget; | |
[Tooltip("The point the camera is going to")] | |
public Transform cameraAnchor; |
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
class MyApp: | |
def __init__(self, o): | |
# type: (AbstractScreen) -> None | |
self.o = o | |
self.my_loading_bar = LoadingBar(o) # As an app developper I don't wanna know what the screens are ! | |
def on_start(self): | |
self.my_loading_bar.activate() | |
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 Random = UnityEngine.Random; | |
// ReSharper disable UnusedMember.Global | |
// ReSharper disable MemberCanBePrivate.Global | |
namespace Utils | |
{ | |
public class WeightedRandomizer<T> : IEnumerable |
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 System.Collections.ObjectModel; | |
namespace Utils | |
{ | |
/// <summary> | |
/// Implements "iTunes shuffle" that is to say, it's a random where you can't get twice the same value unless you | |
/// already got all the values. |
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
#!/usr/bin/env python3 | |
import argparse | |
import os | |
import sys | |
import requests | |
from bs4 import BeautifulSoup | |