예제 #1
0
            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));
            }
예제 #2
0
 public override AbstractGenerator CreateGenerator(GameObject go)
 {
     return(IEnumeratorMethod.Path(go).Float(20f).Bool(false));
 }
예제 #3
0
 public override AbstractGenerator CreateGenerator(GameObject go)
 {
     return(IEnumeratorMethod.Path(go).String("animator state name").Float(2f));
 }