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; | |
using System; | |
using System.IO; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class DirectoryHaveReCaller { | |
public static List<string> OutOfContentsFolderList; | |
public static List<string> OutOfContentsExtentionList; |
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 UnityEditor; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using System; | |
using System.Runtime.CompilerServices; | |
public class PassObject :object | |
{ |
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
//select -r nurbsSphere1 ; | |
select `ls `; | |
hyperShade -smn; | |
string $materialNameStr[]; | |
$materialNameStr= `ls -sl`; | |
//$materialNameStr =`ls -long`; | |
print("\n $materialNameStr="); | |
print($materialNameStr); | |
string $materialNameStr0=$materialNameStr[0]; | |
print("\n $materialNameStr0="); |
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
string $list = ""; | |
string $str[]={"a","b","c","d" }; | |
for($val in $str) | |
{ | |
$list+=($val+"\n"); | |
} | |
print $list;//ここはチェック用に表示してるだけ | |
//ここから書き込みスクリプト。 |
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
//select -r nurbsSphere1 ; | |
select `ls `; | |
hyperShade -smn; | |
string $materialNameStr[]; | |
$materialNameStr= `ls -sl`; | |
//$materialNameStr =`ls -long`; | |
print("\n $materialNameStr="); | |
print($materialNameStr); | |
string $materialNameStr0=$materialNameStr[0]; | |
print("\n $materialNameStr0="); |
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
//////////////////////////////////////////// | |
///////////////////////////////////////////// | |
///////////////////////////////////////////// | |
//////////////////////////////////////////// | |
//string $myCone[] = `cone`; | |
//setKeyframe -time 0 -time 5 -time 10 -attribute tx -v 5 $myCone[0]; | |
//setKeyframe -time 2 -time 7 -time 12 -attribute ty -v 10 $myCone[0]; | |
//setKeyframe -time 4 -time 9 -time 14 -attribute tz -v 15 $myCone[0]; | |
//selectKey -time 5 -time 12 -time 4; | |
//selectKey -animation objects -add -time 14; |
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
Shader "NewUnlitShader02" | |
{ | |
Properties | |
{ | |
_MainTex ("RenderTex", 2D) = "white" {} | |
_DecalATex ("DecalATex", 2D) = "white" {} | |
_DecalBTex ("DecalBTex", 2D) = "white" {} | |
} | |
SubShader | |
{ |
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
Shader "NewUnlitShader03" | |
{ | |
Properties | |
{ | |
_MainTex ("RenderTex", 2D) = "white" {} | |
_GrandTex ("_GrandTex", 2D) = "white" {} | |
_DecalATex ("DecalATex", 2D) = "white" {} | |
_DecalBTex ("DecalBTex", 2D) = "white" {} | |
_DecalCTex ("_DecalCTex", 2D) = "white" {} | |
} |
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
Shader "SelectDecalMap3" { | |
Properties { | |
_MainTex ("RenderTex", 2D) = "white" {} | |
_GrandTex ("_GrandTex", 2D) = "white" {} | |
_DecalATex ("_DecalATex", 2D) = "white" {} | |
_DecalBTex ("_DecalBTex", 2D) = "white" {} | |
_DecalCTex ("_DecalCTex", 2D) = "white" {} | |
} | |
SubShader { |
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 ShadowScript3 : MonoBehaviour { | |
public Camera shadowCamera; | |
public GameObject shadow; | |
Texture texRed; | |
Texture texGreen; | |
Texture texBlue; |