TimeStoneUtils Class

Summary

Utility class to find TimeStone agents
Namespace
RedGirafeGames.Agamotto.Scripts.Runtime.Utils
Base Types
  • object
graph BT Type-->Base0["object"] Type["TimeStoneUtils"] class Type type-node

Syntax

public static class TimeStoneUtils

Methods

Name Value Summary
FindGameObjectsWithTagInSimulationAgents(TimeStone, string) GameObject[]
Equivalent to GameObject.FindGameObjectsWithTag but with a scope limited to stone's simulation agents
static
FindGameObjectsWithTagInSimulationScene(TimeStone, string) GameObject[]
Equivalent to GameObject.FindGameObjectsWithTag but with a scope limited to stone's simulation scene
static
FindGameObjectsWithTagWithoutSimulationAgents(string) GameObject[]
Equivalent to GameObject.FindGameObjectsWithTag but automatically excluding any cloned simulation agents
static
FindGameObjectWithTagInSimulationAgents(TimeStone, string) GameObject
Equivalent to GameObject.FindGameObjectWithTag but with a scope limited to stone's simulation agents
static
FindGameObjectWithTagInSimulationScene(TimeStone, string) GameObject
Equivalent to GameObject.FindGameObjectWithTag but with a scope limited to stone's simulation scene
static
FindGameObjectWithTagWithoutSimulationAgents(string) GameObject
Equivalent to GameObject.FindGameObjectWithTag but automatically excluding any cloned simulation agents
static
FindInSimulationAgents(TimeStone, string) GameObject
Equivalent to GameObject.Find but with a scope limited to stone's simulation agents
static
FindObjectOfTypeInSimulationAgents<T>(TimeStone) T
Equivalent to GameObject.FindObjectOfType but with a scope limited to stone's simulation agents
static
FindObjectOfTypeWithoutSimulationAgents<T>() T
Equivalent to Object.FindObjectOfType but automatically excluding any cloned simulation agents
static
FindObjectsOfTypeInSimulationAgents<T>(TimeStone) T[]
Equivalent to GameObject.FindObjectsOfType but with a scope limited to stone's simulation agents
static
FindObjectsOfTypeWithoutSimulationAgents<T>() T[]
Equivalent to Object.FindObjectsOfType but automatically excluding any cloned simulation agents
static
GetAllTimeAgentsWithoutSimulationAgents() List<TimeAgent>
Search for all time agents (even inactive) in current scene, excluding simulation agents
static