Last active
November 11, 2016 11:47
-
-
Save romainPechot/76493adad6fafee02087f256ed19ffd2 to your computer and use it in GitHub Desktop.
CameraBackgroundSetup (ScriptableObject)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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