Sequine - Scripting API
Calcatz.CookieCutter.ObjectComparatorCommand Class Reference

Compares 2 objects (derived from UnityEngine.Object) with certain comparator. More...

Inheritance diagram for Calcatz.CookieCutter.ObjectComparatorCommand:
Calcatz.CookieCutter.PropertyCommand< bool > Calcatz.CookieCutter.Command< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >

Public Types

enum  Comparator { Equals , NotEquals }
 

Public Member Functions

override bool GetOutput (CommandExecutionFlow _flow, int _pointIndex)
 
override void Editor_InitInPoints ()
 Called when a Command Node is initialized, specifically the in-points. Use this method to ensure inputIds as well. More...
 
override void Editor_InitOutPoints ()
 Called when a Command Node is initialized, specifically the out-points. Use this method to ensure nextIds as well. More...
 
override void Editor_OnDrawContents (Vector2 _absPosition)
 Called when a Command Node is drawn. More...
 

Public Attributes

UnityEngine.Object a = null
 
UnityEngine.Object b = null
 
Comparator comparator = Comparator.Equals
 
bool destroyedMeansNull = true
 

Properties

override float nodeWidth [get]
 

Additional Inherited Members

Detailed Description

Compares 2 objects (derived from UnityEngine.Object) with certain comparator.

Member Enumeration Documentation

◆ Comparator

Enumerator
Equals 
NotEquals 

Member Function Documentation

◆ Editor_InitInPoints()

override void Calcatz.CookieCutter.ObjectComparatorCommand.Editor_InitInPoints ( )
virtual

Called when a Command Node is initialized, specifically the in-points. Use this method to ensure inputIds as well.

Reimplemented from Calcatz.CookieCutter.Command< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >.

◆ Editor_InitOutPoints()

override void Calcatz.CookieCutter.ObjectComparatorCommand.Editor_InitOutPoints ( )
virtual

Called when a Command Node is initialized, specifically the out-points. Use this method to ensure nextIds as well.

Reimplemented from Calcatz.CookieCutter.Command< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >.

◆ Editor_OnDrawContents()

override void Calcatz.CookieCutter.ObjectComparatorCommand.Editor_OnDrawContents ( Vector2  _absPosition)
virtual

Called when a Command Node is drawn.

Parameters
_absPosition

Reimplemented from Calcatz.CookieCutter.Command< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >.

◆ GetOutput()

override bool Calcatz.CookieCutter.ObjectComparatorCommand.GetOutput ( CommandExecutionFlow  _flow,
int  _pointIndex 
)
virtual

Member Data Documentation

◆ a

UnityEngine.Object Calcatz.CookieCutter.ObjectComparatorCommand.a = null

◆ b

UnityEngine.Object Calcatz.CookieCutter.ObjectComparatorCommand.b = null

◆ comparator

Comparator Calcatz.CookieCutter.ObjectComparatorCommand.comparator = Comparator.Equals

◆ destroyedMeansNull

bool Calcatz.CookieCutter.ObjectComparatorCommand.destroyedMeansNull = true

Property Documentation

◆ nodeWidth

override float Calcatz.CookieCutter.ObjectComparatorCommand.nodeWidth
get