Esempio n. 1
0
        public static ActionDrawer Create(Transform parent, List <PerformerAction> actions)
        {
            GameObject go = new GameObject("ActionDrawer", typeof(ActionDrawer));

            go.transform.SetParent(parent);
            ActionDrawer drawer = go.GetComponent <ActionDrawer> ();

            drawer.Init(actions);
            return(drawer);
        }
Esempio n. 2
0
 public void SetDrawer(ActionDrawer drawer)
 {
     this.drawer = drawer;
 }