Load() public method

public Load ( LoadManager content ) : void
content MilkShakeFramework.Core.Content.LoadManager
return void
示例#1
0
        private void LoadEntity(Entity entity)
        {
            Console.WriteLine("[Dynamic Load] " + entity.GUID);

            entity.Setup();
            entity.Load(this);
            entity.FixUp();
        }
示例#2
0
 private void LoadEntity(Entity entity)
 {
     if (!entity.IsLoaded)
     {
         entity.Setup();
         entity.Load(this);
         entity.FixUp();
     }
 }