Sequine - Scripting API
Calcatz.CookieCutter.RandomObjectSelectorCommand Class Reference

Gets 1 random object from the specified list of objects. More...

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

Public Member Functions

override UnityEngine.Object GetOutput (CommandExecutionFlow _flow, int _pointIndex)
 

Public Attributes

List< UnityEngine.Object > objectList = new List<Object>()
 
System.Type typeToSelect = typeof(AnimationClip)
 

Additional Inherited Members

Detailed Description

Gets 1 random object from the specified list of objects.

Member Function Documentation

◆ GetOutput()

override UnityEngine.Object Calcatz.CookieCutter.RandomObjectSelectorCommand.GetOutput ( CommandExecutionFlow  _flow,
int  _pointIndex 
)
virtual

Member Data Documentation

◆ objectList

List<UnityEngine.Object> Calcatz.CookieCutter.RandomObjectSelectorCommand.objectList = new List<Object>()

◆ typeToSelect

System.Type Calcatz.CookieCutter.RandomObjectSelectorCommand.typeToSelect = typeof(AnimationClip)