Created
April 2, 2018 21:48
-
-
Save dilanshah/d9bffb170a0ce683a160b70a5c04ce88 to your computer and use it in GitHub Desktop.
FakeModelData is a wrapper for .obj byte data that will be treated like an asset at runtime for a generated object in the scene from dropbox
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 UnityEngine; | |
using System.Collections; | |
public class FakeModelData : ScriptableObject { | |
public static bool splitByMaterial = false; | |
public static string[] searchPaths = new string[] { "", "%FileName%_Textures" + Path.DirectorySeparatorChar }; | |
struct FakeModelFace | |
{ | |
public string materialName; | |
public string meshName; | |
public int[] indexes; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment