Secuence.init C# (CSharp) Метод

init() публичный Метод

public init ( ) : void
Результат void
    public void init()
    {
        Debug.Log ("Root created");
        root = ScriptableObject.CreateInstance<SecuenceNode>();
        Debug.Log (root);
        root.init ();
        DontDestroyOnLoad(this);
    }

Usage Example

Пример #1
0
 void OnEnable()
 {
     if (secuence == null) {
         Debug.Log ("Secuence created");
         secuence = ScriptableObject.CreateInstance<Secuence> ();
         secuence.init ();
         DontDestroyOnLoad(secuence);
     }
 }
All Usage Examples Of Secuence::init
Secuence