-
using UnityEngine;using Opsive.UltimateCharacterController.Inventory;#if UNITY_EDITORusing UnityEditor;#endifnamespace AC{ [System.Serializable] public class ActionUCCPickup : Action {
-
as normal. */ Run (); } #if UNITY_EDITOR public override void ShowGUI () { // Action-specific Inspector GUI code here isPlayer = EditorGUILayout.Toggle(&
-
using UnityEngine; using UnityEngine.UI; using System.Collections.Generic; using PowerTools; #if UNITY_EDITOR using UnityEditor; #endif namespace AC {[System.Serializable]publ
-
public static bool CursorLock{ get { #if UNITY_5 return (Cursor.lockState == CursorLockMode.Locked) ? true : false; #else return Screen.lockCursor; #endif }
-
using UnityEngine;using System.Collections.Generic;#if UNITY_EDITORusing UnityEditor;#endifnamespace AC{ [System.Serializable] public class ActionCopyMaterial : Action { public GameObj
-
protected virtual bool UnityUIBlocksClick () { if (KickStarter.settingsManager.unityUIClicksAlwaysBlocks) { #if !UNITY_EDITOR if (KickStarter
-
return descriptionLineID; } #if UNITY_EDITOR public void UpdateTranslatableString (int index, string updatedText) { if (index == 0) {
-
using UnityEngine;using System.Collections.Generic;#if UNITY_EDITORusing UnityEditor;#endifnamespace AC{ [System.Serializable] public class ActionChangeSpeechChildPos : Action { public
-
using UnityEngine;using System.Collections.Generic;#if UNITY_EDITORusing UnityEditor;#endifnamespace AC{ [System.Serializable] public class ActionChangeSpeechChildPos : Action { public
-
as normal. */ Run (); } #if UNITY_EDITOR public override void ShowGUI () { speakingCharacter = (GameObject)EditorGUILayout.ObjectField("Speech Child Object
-
using UnityEngine;using System.Collections.Generic;#if UNITY_EDITORusing UnityEditor;#endifnamespace AC{ [System.Serializable] public class ActionMenuElementColor : Action { public str
-
#if UNITY_WEBGL && !UNITY_EDITORif (playableScreenRect.width == 0 && Time.time > 0f) RecalculateRects ();#elseif (playableScreenRect.width == 0) RecalculateRects
-
override void Skip() { Run(); }#if UNITY_EDITOR public override void ShowGUI(List<ActionParameter> parameters) { parameterID = Action.ChooseParameterGUI(&q
-
public static int CurrentSceneIndex{ get { #if UNITY_EDITOR && UNITY_2019_3_OR_NEWER if (UnityEditor.EditorSettings.enterPlayModeOptions.HasFlag (UnityEditor.EnterP
-
using UnityEngine;using System.Collections.Generic;#if UNITY_EDITORusing UnityEditor;#endifnamespace AC{ [System.Serializable] public class AddStrength : Action { public int strengthIn
-
void Skip () { Run (); } #if UNITY_EDITOR public override void ShowGUI () { // Action-specific Inspector GUI code here AfterRunningOption (); } public overr
-
using UnityEngine;using Chronos;#if UNITY_EDITORusing UnityEditor;#endifnamespace AC{ [System.Serializable] public class ActionGlobalClock : Action { public Clock GameClockToEffect;
-
void Skip () { Run (); } #if UNITY_EDITOR public override void ShowGUI () { // Action-specific Inspector GUI code here objectToAffect = (GameObject)EditorGUILayou
-
Instead I edited the TakeOverlayScreenshot function in MainCamera.cs and instead of checking the KickStarter.settingsManager.linearColorTextures value, I just wrap the SetPixel code in a #if UNITY_SWI
-