Table of Contents

Class Futile

Namespace
Global
Assembly
Assembly-CSharp.dll
public class Futile : MonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
Futile
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags

Fields

_camera

public Camera _camera

Field Value

Camera

_camera2

public Camera _camera2

Field Value

Camera

_cameraHolder

public GameObject _cameraHolder

Field Value

GameObject

_cameraHolder2

public GameObject _cameraHolder2

Field Value

GameObject

_cameraImage

[SerializeField]
public RawImage _cameraImage

Field Value

RawImage

_delayedCallbacks

public List<FDelayedCallback> _delayedCallbacks

Field Value

List<FDelayedCallback>

_futileParams

public FutileParams _futileParams

Field Value

FutileParams

_isDepthChangeNeeded

public static bool _isDepthChangeNeeded

Field Value

bool

_mousePosition

public static Vector3 _mousePosition

Field Value

Vector3

_mousePositionValid

public static bool _mousePositionValid

Field Value

bool

_shouldRunGCNextUpdate

public bool _shouldRunGCNextUpdate

Field Value

bool

_stages

public static List<FStage> _stages

Field Value

List<FStage>

atlasManager

public static FAtlasManager atlasManager

Field Value

FAtlasManager

baseRenderQueueDepth

public static int baseRenderQueueDepth

Field Value

int

canvasScaler

public CanvasScaler canvasScaler

Field Value

CanvasScaler

instance

public static Futile instance

Field Value

Futile

isOpenGL

public static bool isOpenGL

Field Value

bool

nextRenderLayerDepth

public static int nextRenderLayerDepth

Field Value

int

resourceScale

public static float resourceScale

Field Value

float

resourceScaleInverse

public static float resourceScaleInverse

Field Value

float

resourceSuffix

public static string resourceSuffix

Field Value

string

screen

public static FScreen screen

Field Value

FScreen

screenPixelOffset

public static Vector2 screenPixelOffset

Field Value

Vector2

shouldRemoveAtlasElementFileExtensions

public static bool shouldRemoveAtlasElementFileExtensions

Field Value

bool

shouldTrackNodesInRXProfiler

public bool shouldTrackNodesInRXProfiler

Field Value

bool

splitScreen

public bool splitScreen

Field Value

bool

stage

public static FStage stage

Field Value

FStage

subjectToAspectRatioIrregularity

public static bool subjectToAspectRatioIrregularity

Field Value

bool

touchManager

public static FTouchManager touchManager

Field Value

FTouchManager

white

public static Color white

Field Value

Color

whiteElement

public static FAtlasElement whiteElement

Field Value

FAtlasElement

Properties

camera

public Camera camera { get; }

Property Value

Camera

camera2

public Camera camera2 { get; }

Property Value

Camera

currentOrientation

[Obsolete("Futile.currentOrientation is obsolete, use Futile.screen.currentOrientation instead")]
public ScreenOrientation currentOrientation { get; set; }

Property Value

ScreenOrientation

displayScale

public static float displayScale { get; set; }

Property Value

float

displayScaleInverse

public static float displayScaleInverse { get; set; }

Property Value

float

height

[Obsolete("Futile.height is obsolete, use Futile.screen.height instead")]
public static float height { get; set; }

Property Value

float

mousePosition

public static Vector3 mousePosition { get; }

Property Value

Vector3

originX

[Obsolete("Futile.originX is obsolete, use Futile.screen.originX instead")]
public float originX { get; set; }

Property Value

float

originY

[Obsolete("Futile.originY is obsolete, use Futile.screen.originY instead")]
public float originY { get; set; }

Property Value

float

width

[Obsolete("Futile.width is obsolete, use Futile.screen.width instead")]
public static float width { get; set; }

Property Value

float

Methods

AddStage(FStage)

public static void AddStage(FStage stageToAdd)

Parameters

stageToAdd FStage

AddStageAtIndex(FStage, int)

public static void AddStageAtIndex(FStage stageToAdd, int newIndex)

Parameters

stageToAdd FStage
newIndex int

Awake()

public void Awake()

ClearLayersThatUseAtlas(FAtlas)

public void ClearLayersThatUseAtlas(FAtlas atlas)

Parameters

atlas FAtlas

CreateDefaultAtlases()

public void CreateDefaultAtlases()

FixedUpdate()

public void FixedUpdate()

ForceGarbageCollectionNextUpdate()

public void ForceGarbageCollectionNextUpdate()

GetStageAt(int)

public static FStage GetStageAt(int index)

Parameters

index int

Returns

FStage

GetStageCount()

public static int GetStageCount()

Returns

int

Init(FutileParams)

public void Init(FutileParams futileParams)

Parameters

futileParams FutileParams

InitCamera(Camera, int)

public void InitCamera(Camera camera, int playerNumber)

Parameters

camera Camera
playerNumber int

IsLandscape()

[Obsolete("Futile.IsLandscape() is obsolete, use Futile.screen.IsLandscape() instead")]
public bool IsLandscape()

Returns

bool

LateUpdate()

public void LateUpdate()

OnApplicationQuit()

public void OnApplicationQuit()

OnDestroy()

public void OnDestroy()

ProcessDelayedCallbacks()

public void ProcessDelayedCallbacks()

RemoveStage(FStage)

public static void RemoveStage(FStage stageToRemove)

Parameters

stageToRemove FStage

StartDelayedCallback(Action, float)

public FDelayedCallback StartDelayedCallback(Action func, float delayTime)

Parameters

func Action
delayTime float

Returns

FDelayedCallback

StopDelayedCall(FDelayedCallback)

public void StopDelayedCall(FDelayedCallback callToRemove)

Parameters

callToRemove FDelayedCallback

StopDelayedCall(Action)

public void StopDelayedCall(Action func)

Parameters

func Action

Update()

public void Update()

UpdateCameraPosition()

public void UpdateCameraPosition()

UpdateScreenWidth(int)

public void UpdateScreenWidth(int newWidth)

Parameters

newWidth int

UpdateStageIndices()

public static void UpdateStageIndices()

Events

SignalAfterUpdate

public event Futile.FutileUpdateDelegate SignalAfterUpdate

Event Type

Futile.FutileUpdateDelegate

SignalFixedUpdate

public event Futile.FutileUpdateDelegate SignalFixedUpdate

Event Type

Futile.FutileUpdateDelegate

SignalLateUpdate

public event Futile.FutileUpdateDelegate SignalLateUpdate

Event Type

Futile.FutileUpdateDelegate

SignalUpdate

public event Futile.FutileUpdateDelegate SignalUpdate

Event Type

Futile.FutileUpdateDelegate