Commit 87dcc74a authored by SimonP's avatar SimonP
Browse files

Initial Unity Project Commit

parent 4093aedc
fileFormatVersion: 2
guid: 31080f04acd11514980f502b15f672dc
folderAsset: yes
DefaultImporter:
userData:
using UnityEngine;
namespace ProceduralToolkit.Examples.Primitives
{
[RequireComponent(typeof(MeshRenderer), typeof(MeshFilter))]
public class Cylinder : MonoBehaviour
{
public float radius = 1f;
public int segments = 16;
public float height = 2f;
private void Start()
{
GetComponent<MeshFilter>().mesh = MeshE.Cylinder(radius, segments, height);
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: fac210808f4ec7e4ab2059716b7de8c6
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
using UnityEngine;
namespace ProceduralToolkit.Examples.Primitives
{
[RequireComponent(typeof(MeshRenderer), typeof(MeshFilter))]
public class Dodecahedron : MonoBehaviour
{
public float radius = 1f;
private void Start()
{
GetComponent<MeshFilter>().mesh = MeshE.Dodecahedron(radius);
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: 17232327dcbc17b46949d66e6b59fec5
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
using UnityEngine;
namespace ProceduralToolkit.Examples.Primitives
{
[RequireComponent(typeof(MeshRenderer), typeof(MeshFilter))]
public class FlatSphere : MonoBehaviour
{
public float radius = 1f;
public int horizontalSegments = 16;
public int verticalSegments = 16;
private void Start()
{
GetComponent<MeshFilter>().mesh = MeshE.FlatSphere(radius, horizontalSegments, verticalSegments);
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: dce0abc89d699a24f97c3753326ed9bb
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
using UnityEngine;
namespace ProceduralToolkit.Examples.Primitives
{
[RequireComponent(typeof (MeshRenderer), typeof (MeshFilter))]
public class FlatSpheroid : MonoBehaviour
{
public float radius = 0.75f;
public float height = 1f;
public int horizontalSegments = 16;
public int verticalSegments = 16;
private void Start()
{
GetComponent<MeshFilter>().mesh = MeshE.FlatSpheroid(radius, height, horizontalSegments, verticalSegments);
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: e11f94f93a2fb08439763b91c625c7b4
timeCreated: 1476533004
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using UnityEngine;
namespace ProceduralToolkit.Examples.Primitives
{
[RequireComponent(typeof (MeshRenderer), typeof (MeshFilter))]
public class FlatTeardrop : MonoBehaviour
{
public float radius = 1f;
public float height = 1f;
public int horizontalSegments = 16;
public int verticalSegments = 16;
private void Start()
{
GetComponent<MeshFilter>().mesh = MeshE.FlatTeardrop(radius, height, horizontalSegments, verticalSegments);
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: 051f30de83d8fe94baf4387ed31fc021
timeCreated: 1476533988
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using UnityEngine;
namespace ProceduralToolkit.Examples.Primitives
{
[RequireComponent(typeof(MeshRenderer), typeof(MeshFilter))]
public class Hexahedron : MonoBehaviour
{
public float width = 1f;
public float length = 1f;
public float height = 2f;
private void Start()
{
GetComponent<MeshFilter>().mesh = MeshE.Hexahedron(width, length, height);
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: 44bff16b8e63ce44fa940568b3bfa71d
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
using UnityEngine;
namespace ProceduralToolkit.Examples.Primitives
{
[RequireComponent(typeof(MeshRenderer), typeof(MeshFilter))]
public class Icosahedron : MonoBehaviour
{
public float radius = 1f;
private void Start()
{
GetComponent<MeshFilter>().mesh = MeshE.Icosahedron(radius);
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: 1d7cd73a4d0af9a4a9827f3d196519de
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
using UnityEngine;
namespace ProceduralToolkit.Examples.Primitives
{
[RequireComponent(typeof(MeshRenderer), typeof(MeshFilter))]
public class Octahedron : MonoBehaviour
{
public float radius = 1f;
private void Start()
{
GetComponent<MeshFilter>().mesh = MeshE.Octahedron(radius);
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: 2d25bfc1413b79b4ba85414f5c3ea5ce
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
using UnityEngine;
namespace ProceduralToolkit.Examples.Primitives
{
[RequireComponent(typeof(MeshRenderer), typeof(MeshFilter))]
public class Plane : MonoBehaviour
{
public float xSize = 1f;
public float zSize = 1f;
public int xSegments = 16;
public int zSegments = 16;
private void Start()
{
GetComponent<MeshFilter>().mesh = MeshE.Plane(xSize, zSize, xSegments, zSegments);
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: 3ee7e41d3c8707041b135f52eaa97c95
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 5
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Primitives
m_Shader: {fileID: 4800000, guid: 40dd86119e3f8e74d8f7d84425c926aa, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
m_SavedProperties:
serializedVersion: 2
m_TexEnvs: {}
m_Floats:
data:
first:
name: _Smoothness
second: 0
data:
first:
name: _Metallic
second: 0
m_Colors: {}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment