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 System; | |
using System.IO; | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
public class BuildPostprocessor | |
{ | |
[PostProcessBuild] | |
public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) | |
{ |
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 System.Linq; | |
using System.Text.RegularExpressions; | |
using UnityEditor; | |
using UnityEngine; | |
namespace Onoty3D | |
{ | |
enum UVType | |
{ | |
//UV1, |
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
struct VertexInput { | |
float4 vertex : POSITION; | |
float4 color : COLOR; //★ | |
float3 normal : NORMAL; | |
float4 tangent : TANGENT; | |
float2 texcoord0 : TEXCOORD0; | |
}; | |
--- |
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
Shader "Onoty3D/Unlit/PlanarDecal" | |
{ | |
Properties | |
{ | |
_Color("Color", Color) = (1, 1, 1, 1) | |
_MainTex("MainTex", 2D) = "white" {} | |
_DecalColor("Decal Color", Color) = (1, 1, 1, 1) | |
_DecalTex("Decal", 2D) = "white" {} | |
[KeywordEnum(X, Y, Z)] _Planar ("Decal Planar", int) = 0 | |
[KeywordEnum(Front, Back, Both)] _Side ("Decal Side", int) = 0 |
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 System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace Onoty3D.VoxelGenerator.Scripts | |
{ | |
[Serializable] | |
public class InsideChecker | |
{ | |
//生成したボクセルに設定するレイヤー |
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 System.Collections.Generic; | |
using Es.InkPainter; | |
using UnityEngine; | |
namespace Onoty3D | |
{ | |
public class ParticlePainter : MonoBehaviour | |
{ | |
public Brush Brush = null; | |
public ParticleSystem Particle; |
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
Shader "PronamaChan/Toon/Lit Decal" { | |
Properties { | |
_Color("Main Color", Color) = (0.5,0.5,0.5,1) | |
_DecalColor ("Decal Color", Color) = (0.5,0.5,0.5,1) | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
_DecalTex("Decal (RGBA)", 2D) = "black" {} | |
_Ramp ("Toon Ramp (RGB)", 2D) = "gray" {} | |
[Enum(OFF,0,FRONT,1,BACK,2)] _CullMode("Cull Mode", int) = 2 //OFF/FRONT/BACK | |
} |
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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
namespace Onoty3D | |
{ | |
public class BlendShapeValueChangerYuno : MonoBehaviour | |
{ | |
/// <summary> |
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
Shader "Onoty3D/Toon/Lit ZowaZowa" { | |
Properties{ | |
_Color("Main Color", Color) = (0.5,0.5,0.5,1) | |
_MainTex("Base (RGB)", 2D) = "white" {} | |
_Ramp("Toon Ramp (RGB)", 2D) = "gray" {} | |
[Enum(OFF,0,FRONT,1,BACK,2)] _CullMode("Cull Mode", int) = 2 //OFF/FRONT/BACK | |
_YBorder("YBorder", float) = 0 | |
_YRange("YRange", float) = 0.005 | |
_Volume("Volume", float) = 0.001 |
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 System.Linq; | |
using UnityEngine; | |
namespace PronamaChan | |
{ | |
public class TongueMorph : MonoBehaviour | |
{ | |
private class DefaultVertex | |
{ | |
public int Index { get; set; } |
NewerOlder