private void CreateShadowPrefabs() { var platformShadow = GameObjectFactory .New() .With(new Sprite() { Texture = TextureUtil.CreateTexture(64, 64, Color.Black), Tint = Color.Lerp(Color.White, Color.Transparent, 0.2f) }) .Create(); platformShadow.Visible = false; PrefabFactory.Instantiate(platformShadow); blockInfo.AddInfo("platform", platformShadow, true); }