public void init() { childs = new List<SecuenceNode> (); DontDestroyOnLoad (this); }
public void init() { Debug.Log ("Root created"); root = ScriptableObject.CreateInstance<SecuenceNode>(); Debug.Log (root); root.init (); DontDestroyOnLoad(this); }