コード例 #1
0
        private void LoadStateComponent(GameEntity entity, StateComponentInfo info)
        {
            var comp = new StateComponent();

            entity.AddComponent(comp);
            comp.LoadInfo(info);
        }
コード例 #2
0
 private void LoadStateComponent(GameEntity entity, StateComponentInfo info)
 {
     var comp = new StateComponent();
     entity.AddComponent(comp);
     comp.LoadInfo(info);
 }