Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在玩 Unity 的 UI 东西,我现在想要实现的是一个可以滚动的图像列表。但是,Scrollrect 仅提供滚动单个图像而不是容器。您是否有任何想法仍然使用 Scrollrect 而不是为滚动容器编写自定义类?我的第一个也是非常不雅的想法是创建一个带有大图像的游戏对象,该图像根据它包含的最远的图像动态调整大小....提前为您提供帮助!
您可能想要使用这个组件: http ://docs.unity3d.com/ScriptReference/UI.VerticalLayoutGroup.html
javasetAlpha()方法说它是 API 级别 11。但它的 XML 方面没有说明任何内容,当我使用它时,由于我指定了 min SDK 8,因此在 Lint 中没有将它作为警告拾取。
setAlpha()
如果我使用 android:alpha="" 会在 2.2 上崩溃吗?