Skip to main content

PlatformTexture

A class in Root.Township, the global namespace.

Asset holding Windows and Android versions of a texture. Nothing reads its fields in this build.

  • Listed in Global namespace: P
  • Inherits or implements ScriptableObject
  • Attributes CreateAssetMenu

Constructors​

MemberWhat it is
PlatformTexture()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

2 private and internal fields
MemberWhat it is
private Texture2D androidVersionTexture for Android.
private Texture2D windowsVersionTexture for Windows.