示例#1
0
        protected override FlatRedBall.Scene Read(ContentReader input, FlatRedBall.Scene existingInstance)
        {
            if (existingInstance != null)
            {
                return(existingInstance);
            }

            SceneSave s = null;

            if (ObjectReader.UseReflection)
            {
                s = ObjectReader.ReadObject <SceneSave>(input);
            }
            else
            {
                s = ReadSpriteEditorScene(input);
            }

            s.FileName = input.AssetName;
            return(s.ToScene(""));
        }