public override void Init(MyObjectBuilder_BehaviorTreeNodeMemory builder)
        {
            base.Init(builder);

            var ob = builder as MyObjectBuilder_BehaviorTreeControlNodeMemory;
            InitialIndex = ob.InitialIndex;
        }
 public static MyBehaviorTreeNodeMemory CreateNodeMemory(MyObjectBuilder_BehaviorTreeNodeMemory builder)
 {
     var obj = m_objectFactory.CreateInstance(builder.TypeId);
     return obj;
 }
 public virtual void Init(MyObjectBuilder_BehaviorTreeNodeMemory builder)
 {
     InitCalled = builder.InitCalled;
 }
        public override void Init(MyObjectBuilder_BehaviorTreeNodeMemory builder)
        {
            base.Init(builder);

            var ob = builder as MyObjectBuilder_BehaviorTreeDecoratorNodeMemory;
            ChildState = ob.ChildState;
            DecoratorLogicMemory = GetLogicMemoryByBuilder(ob.Logic);
        }