-
if (Input.GetMouseButtonUp (0)) #else if (Input.touchCount == 1 && Input.GetTouch (0).phase == TouchPhase.Ended) #endif { Hotspot hotspot
-
using UnityEngine;using AC;public class TapUpInteract : MonoBehaviour{ void Update () { #if UNITY_EDITOR if (Input.GetMouseButtonUp (0)) #else if (Input.touchCount ==
-
float scale = -1.0; #else float scale = 1.0; #endif output.grabcoord = (float2(output.vertex.x, output.vertex.y * scale) + output.vertex.w) * 0.
-
position = Input.mousePosition; #else Vector2 position = Input.GetTouch (0).position; #endif Ray ray = Camera.main.ScreenPointToRay (position);
-
case PlatformType.Editor: #if UNITY_EDITOR return true; #else return false;
-
FlashHotspots (true); } #else if (Input.touchCount == 1) { if (Input.GetTouch (0).phase == TouchPhase.Ended) { FlashHotspots (true);
-
// The SteamManager is designed to work with Steamworks.NET// This file is released into the public domain.// Where that dedication is not recognized you are granted a perpetual,// irrevocable license
-
#if UNITY_EDITOR_OSXpublic const int skipSocketSeparation = 44;#elsepublic const int skipSocketSeparation = 48;#endif
-
-
void UpdateCameraProperties(){ maskCamera.CopyFrom( camera ); maskCamera.targetTexture = maskTexture; maskCamera.clearFlags = CameraClearFlags.Nothing; maskCamera.renderingPath = Rendering
-
using UnityEngine.Timeline;namespace AC{ [TrackClipType (typeof (ExpressionShot))] #if UNITY_2018_3_OR_NEWER [TrackBindingType (typeof (AC.Char), TrackBindingFlags.None)] #else [TrackBi
-
public static bool CursorLock{ get { #if UNITY_5 return (Cursor.lockState == CursorLockMode.Locked) ? true : false; #else return Screen.lockCursor; #endif }
-
#if UNITY_WEBGL && !UNITY_EDITORif (playableScreenRect.width == 0 && Time.time > 0f) RecalculateRects ();#elseif (playableScreenRect.width == 0) RecalculateRects
-
-
crossfadeTexture.SetPixel (x, y, color.gamma);#else crossfadeTexture.SetPixel(x, y, color.linear); #endif }
-
-
-
-
-