Tanoda
Controller Class Reference
Inheritance diagram for Controller:

Public Member Functions

delegate void TriggerHandler (string id)
 
void GetObjectData (SerializationInfo info, StreamingContext context)
 
 Controller (SerializationInfo info, StreamingContext context)
 
void LoadJson (Controller controller)
 
IEnumerator LoadControllerFromJSON (Controller controller)
 
void OnStageManagerToggle ()
 
GameObject AddAction (GameObject obj, string id)
 
void AddAction (GameObject obj)
 
void AddAction ()
 
void ClearAll ()
 
void RemoveAction (string id)
 
void StartConnection (string outputID, string actionID)
 
void EndConnection (string inputID, string actionID)
 
void EndConnection ()
 
void DragConnection (Vector2 position)
 
void AddConnection (LineObject lineObj)
 
void AddConnection (string from, string to, string connection)
 
void RemoveConnection (string connectionId)
 
void RemoveConnectionByEndPointId (string id)
 
bool HasConnectionByEndpoint (string id)
 
Connection GetConnectionByEndPointId (string id)
 
Connection[] GetConnectionsByEndPointId (string id)
 
Connection GetConnectionById (string id)
 
List< string > GetConnectionsToObject (string id)
 
List< string > GetInputConnectionsToObject (string id)
 
List< string > GetOutputConnectionsToObject (string id)
 
void Trigger (string id)
 
void DirektTrigger (string id)
 
bool HasConnection (string id)
 
ActionObject GetActionByInOut (string id)
 
ActionObject GetActionByIn (string id)
 
ActionObject[] GetActionsByOut (string id)
 
ActionObject[] GetActionsByIn (string id)
 
ActionObject GetActionById (string id)
 
void TOJson ()
 
IEnumerator RestoreOnly ()
 
void ClickedOn (string id)
 

Public Attributes

GameObject UIParent
 
GameObject prefab
 
bool onlyOneStartAction = true
 
List< GameObject > actionPrefabs
 
bool isLoading
 
GraphicRaycaster m_Raycaster
 
EventSystem m_EventSystem
 
Dropdown AddNodeDropdown
 
CanvasGroup StageWindow
 

Properties

static Controller Instance [get]
 

Events

TriggerHandler OnTrigger
 

Detailed Description

Definition at line 14 of file Controller.cs.

Constructor & Destructor Documentation

◆ Controller()

Controller.Controller ( SerializationInfo  info,
StreamingContext  context 
)

Definition at line 57 of file Controller.cs.

Member Function Documentation

◆ AddAction() [1/3]

void Controller.AddAction ( )

Definition at line 711 of file Controller.cs.

◆ AddAction() [2/3]

void Controller.AddAction ( GameObject  obj)

Definition at line 706 of file Controller.cs.

◆ AddAction() [3/3]

GameObject Controller.AddAction ( GameObject  obj,
string  id 
)

Definition at line 545 of file Controller.cs.

◆ AddConnection() [1/2]

void Controller.AddConnection ( LineObject  lineObj)

Definition at line 817 of file Controller.cs.

◆ AddConnection() [2/2]

void Controller.AddConnection ( string  from,
string  to,
string  connection 
)

Definition at line 822 of file Controller.cs.

◆ ClearAll()

void Controller.ClearAll ( )

Definition at line 719 of file Controller.cs.

◆ ClickedOn()

void Controller.ClickedOn ( string  id)

Definition at line 975 of file Controller.cs.

◆ DirektTrigger()

void Controller.DirektTrigger ( string  id)

Definition at line 915 of file Controller.cs.

◆ DragConnection()

void Controller.DragConnection ( Vector2  position)

Definition at line 812 of file Controller.cs.

◆ EndConnection() [1/2]

void Controller.EndConnection ( )

Definition at line 807 of file Controller.cs.

◆ EndConnection() [2/2]

void Controller.EndConnection ( string  inputID,
string  actionID 
)

Definition at line 760 of file Controller.cs.

◆ GetActionById()

ActionObject Controller.GetActionById ( string  id)

Definition at line 950 of file Controller.cs.

◆ GetActionByIn()

ActionObject Controller.GetActionByIn ( string  id)

Definition at line 932 of file Controller.cs.

◆ GetActionByInOut()

ActionObject Controller.GetActionByInOut ( string  id)

Definition at line 925 of file Controller.cs.

◆ GetActionsByIn()

ActionObject[] Controller.GetActionsByIn ( string  id)

Definition at line 943 of file Controller.cs.

◆ GetActionsByOut()

ActionObject[] Controller.GetActionsByOut ( string  id)

Definition at line 937 of file Controller.cs.

◆ GetConnectionByEndPointId()

Connection Controller.GetConnectionByEndPointId ( string  id)

Definition at line 857 of file Controller.cs.

◆ GetConnectionById()

Connection Controller.GetConnectionById ( string  id)

Definition at line 871 of file Controller.cs.

◆ GetConnectionsByEndPointId()

Connection[] Controller.GetConnectionsByEndPointId ( string  id)

Definition at line 862 of file Controller.cs.

◆ GetConnectionsToObject()

List< string > Controller.GetConnectionsToObject ( string  id)

Definition at line 876 of file Controller.cs.

◆ GetInputConnectionsToObject()

List< string > Controller.GetInputConnectionsToObject ( string  id)

Definition at line 888 of file Controller.cs.

◆ GetObjectData()

void Controller.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)

Definition at line 49 of file Controller.cs.

◆ GetOutputConnectionsToObject()

List< string > Controller.GetOutputConnectionsToObject ( string  id)

Definition at line 899 of file Controller.cs.

◆ HasConnection()

bool Controller.HasConnection ( string  id)

Definition at line 920 of file Controller.cs.

◆ HasConnectionByEndpoint()

bool Controller.HasConnectionByEndpoint ( string  id)

Definition at line 851 of file Controller.cs.

◆ LoadControllerFromJSON()

IEnumerator Controller.LoadControllerFromJSON ( Controller  controller)

Definition at line 91 of file Controller.cs.

◆ LoadJson()

void Controller.LoadJson ( Controller  controller)

Definition at line 79 of file Controller.cs.

◆ OnStageManagerToggle()

void Controller.OnStageManagerToggle ( )

Definition at line 539 of file Controller.cs.

◆ RemoveAction()

void Controller.RemoveAction ( string  id)

Definition at line 727 of file Controller.cs.

◆ RemoveConnection()

void Controller.RemoveConnection ( string  connectionId)

Definition at line 836 of file Controller.cs.

◆ RemoveConnectionByEndPointId()

void Controller.RemoveConnectionByEndPointId ( string  id)

Definition at line 842 of file Controller.cs.

◆ RestoreOnly()

IEnumerator Controller.RestoreOnly ( )

Definition at line 960 of file Controller.cs.

◆ StartConnection()

void Controller.StartConnection ( string  outputID,
string  actionID 
)

Definition at line 753 of file Controller.cs.

◆ TOJson()

void Controller.TOJson ( )

Definition at line 955 of file Controller.cs.

◆ Trigger()

void Controller.Trigger ( string  id)

Definition at line 910 of file Controller.cs.

◆ TriggerHandler()

delegate void Controller.TriggerHandler ( string  id)

Member Data Documentation

◆ actionPrefabs

List<GameObject> Controller.actionPrefabs

Definition at line 26 of file Controller.cs.

◆ AddNodeDropdown

Dropdown Controller.AddNodeDropdown

Definition at line 39 of file Controller.cs.

◆ isLoading

bool Controller.isLoading

Definition at line 28 of file Controller.cs.

◆ m_EventSystem

EventSystem Controller.m_EventSystem

Definition at line 38 of file Controller.cs.

◆ m_Raycaster

GraphicRaycaster Controller.m_Raycaster

Definition at line 36 of file Controller.cs.

◆ onlyOneStartAction

bool Controller.onlyOneStartAction = true

Definition at line 25 of file Controller.cs.

◆ prefab

GameObject Controller.prefab

Definition at line 23 of file Controller.cs.

◆ StageWindow

CanvasGroup Controller.StageWindow

Definition at line 40 of file Controller.cs.

◆ UIParent

GameObject Controller.UIParent

Definition at line 22 of file Controller.cs.

Property Documentation

◆ Instance

Controller Controller.Instance
staticget

Definition at line 16 of file Controller.cs.

Event Documentation

◆ OnTrigger

TriggerHandler Controller.OnTrigger

Definition at line 20 of file Controller.cs.


The documentation for this class was generated from the following file: