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; | |
public class ProjectionMatrixSetter : MonoBehaviour { | |
Camera main; | |
[SerializeField] | |
float nearClip = 0.01f; | |
[SerializeField] | |
float farClip = 500.0f; |
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
override public func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) { | |
guard let touch = touches.first else { | |
return | |
} | |
UIGraphicsBeginImageContextWithOptions(bounds.size, false, 0.0) | |
let context = UIGraphicsGetCurrentContext() | |
image?.draw(in: bounds) | |
var touches = [UITouch]() |
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.EventSystems; | |
//by Ralph Barbagallo | |
//www.flarb.com | |
//www.ralphbarbagallo.com | |
//@flarb | |
public class VRInputModule : BaseInputModule { |
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 System.Collections; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
[InitializeOnLoad] | |
// 大草原クラス | |
class WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW | |
{ |
NewerOlder