public static States GetDefaultInteractableStates() { States result = CreateInstance <States>(); InteractableStates allInteractableStates = new InteractableStates(); result.StateType = Type.GetType(typeof(InteractableStates).AssemblyQualifiedName); result.StateOptions = InteractableTypeFinder.Find(candidateStateTypes, TypeRestriction.AllowBase); result.StateList = allInteractableStates.GetDefaultStates(); result.DefaultIndex = 0; return(result); }
/// <summary> /// Get the recieverBase types that contain event logic /// </summary> public static InteractableTypesContainer GetEventTypes() { return(InteractableTypeFinder.Find(candidateEventTypes, TypeRestriction.DerivedOnly)); }
public void SetupStateOptions() { StateOptions = InteractableTypeFinder.Find(candidateStateTypes, TypeRestriction.AllowBase); }