Skip to content

Instantly share code, notes, and snippets.

@romainPechot
Last active November 11, 2016 11:47
Show Gist options
  • Save romainPechot/76493adad6fafee02087f256ed19ffd2 to your computer and use it in GitHub Desktop.
Save romainPechot/76493adad6fafee02087f256ed19ffd2 to your computer and use it in GitHub Desktop.
CameraBackgroundSetup (ScriptableObject)
using UnityEngine;
public enum eBackgroundType
{
Skybox = 0,
Color = 1
}
public enum eBackgroundStarType
{
Off = 0,
Dark = 1,
Bright = 2
}
[CreateAssetMenu()]
public class CameraBackgroundSetup : ScriptableObject
{
public eBackgroundType backgroundType;
public Material skyboxMaterial;
public Color backgroundColor;
public eBackgroundStarType starType;
}// CameraBackgroundSetup : ScriptableObject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment