예제 #1
0
        /// <inheritdoc />
        public void OnComponentUpdatePipelineOp(UpdateComponentPipelineOp op)
        {
            if (op.EntityId != EntityId)
            {
                Debug.LogError(string.Format("EntityObject::OnComponentUpdatePipelineOp: Entity {0} received pipeline op for wrong entity id {1}.", EntityId, op.EntityId));
                return;
            }

            var componentId = op.ComponentMetaClass.ComponentId;

            if (!Components.RegisteredComponents.ContainsKey(componentId))
            {
                return;
            }

            Components.RegisteredComponents[componentId].OnComponentUpdatePipelineOp(op);
        }
 /// <inheritdoc />
 public abstract void OnComponentUpdatePipelineOp(UpdateComponentPipelineOp op);
예제 #3
0
 /// <inheritdoc />
 public void UpdateComponent(UpdateComponentPipelineOp updateComponentOp)
 {
 }
예제 #4
0
 /// <inheritdoc />
 public virtual void UpdateComponent(UpdateComponentPipelineOp updateComponentOp)
 {
     NextEntityBlock.UpdateComponent(updateComponentOp);
 }