init() 공개 메소드

public init ( ) : void
리턴 void
예제 #1
0
 public void init()
 {
     Debug.Log ("Root created");
     root = ScriptableObject.CreateInstance<SecuenceNode>();
     Debug.Log (root);
     root.init ();
     DontDestroyOnLoad(this);
 }
예제 #2
0
 public void init()
 {
     Debug.Log("Root created");
     root = ScriptableObject.CreateInstance <SecuenceNode>();
     Debug.Log(root);
     root.init();
     DontDestroyOnLoad(this);
 }
예제 #3
0
    public SecuenceNode addNewChild()
    {
        SecuenceNode node = ScriptableObject.CreateInstance <SecuenceNode>();

        node.init();
        this.childs.Add(node);
        return(node);
    }