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 System.Collections; | |
public class NetworkInterpolatedTransform : MonoBehaviour | |
{ | |
public double interpolationBackTime = 0.1; | |
internal struct State | |
{ | |
internal double timestamp; |
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 System.Collections; | |
public class AimCamera : MonoBehaviour { | |
public Transform target; | |
Vector3 f0Dir= Vector3.zero; | |
Vector3 upVal= Vector3.zero; | |
float zoomDistance= 5; | |
float theta= 0.0F; | |
float fai= 0.0F; |
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
// Remi Gillig - http://speps.fr - 2012 - Public domain | |
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class DebugDraw | |
{ | |
static Material material = new Material( | |
@"Shader ""Custom/DebugDraw"" { |