public override AbstractGenerator CreateGenerator(GameObject go) { var scrollRect = go.GetComponent <ScrollRect>(); return(IEnumeratorMethod.Path(go).Float(scrollRect.normalizedPosition.x) .Float(scrollRect.normalizedPosition.y).Float(1).Float(2).Bool(false)); }
public override AbstractGenerator CreateGenerator(GameObject go) { return(IEnumeratorMethod.Path(go).Float(20f).Bool(false)); }
public override AbstractGenerator CreateGenerator(GameObject go) { return(IEnumeratorMethod.Path(go).String("animator state name").Float(2f)); }