Last active
April 4, 2018 18:11
-
-
Save dilanshah/ee026ab1668981d4d13d25e3a1d38934 to your computer and use it in GitHub Desktop.
Inheriting from scriptableobject
This file contains 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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
[CreateAssetMenu(fileName ="New User Object", menuName = "ObjectRuntime/Cube")] | |
public class ObjectRuntime : ScriptableObject { | |
public string name; | |
public List<FaceGroupData> faceGroups = new List<FaceGroupData>(); | |
public List<FaceIndices> allFaces = new List<FaceIndices>(); | |
public bool hasNormals = false; | |
public bool hasColors = false; | |
public ObjectRuntime() | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment