Skip to content

Instantly share code, notes, and snippets.

@mattiaswargren-zz
Last active July 14, 2016 10:09
Show Gist options
  • Save mattiaswargren-zz/1ed720a01c307e31a7510a6ae1e93e5c to your computer and use it in GitHub Desktop.
Save mattiaswargren-zz/1ed720a01c307e31a7510a6ae1e93e5c to your computer and use it in GitHub Desktop.
Scriptable Object in Create Asset Menu
using UnityEngine;
[CreateAssetMenu(fileName = "Settings", menuName = "Game/Settings")]
public class GameSettings : ScriptableObject
{
}
[CreateAssetMenu(fileName = "Controls", menuName = "Game/Controls")]
public class GameControls : ScriptableObject
{
}
@mattiaswargren-zz
Copy link
Author

screen shot 2016-07-07 at 17 03 40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment