原评价出处:https://bitinn.net/11509/
更新下我首集预览的推荐和保留List——
稳
弃(为什么不好笑)
alias npm-proxy='launchctl start com.dev.proxy' | |
alias npm-direct='launchctl stop com.dev.proxy; npm config delete proxy; npm config delete https-proxy' |
// AMT Normal Tools Lite | |
// | |
// Copyright (c) 2017 Adnan Chaumette "fansub" | |
// http://polycount.com/discussion/183993/maya-free-face-weighted-vertex-normals-tool/ | |
// | |
// Re-indented and Tested on Mac with Maya LT 2017, by David Frank "bitinn" | |
// Install guide for mac users: | |
// | |
// Put "AMTNormalsLT" folder under this folder |
// REMEMBER TO SOURCE THIS, NOT RUN IN THE SCRIPT EDITOR DIRECTLY | |
{ | |
string $TEST_STRING = "TEST_STRING_#"; | |
proc RunLocal1 () { | |
print($TEST_STRING); | |
} | |
proc RunLocal2 (string $Input) { | |
print($Input); |
// REMEMBER TO SOURCE THIS, NOT RUN IN THE SCRIPT EDITOR DIRECTLY | |
{ | |
proc string GetTestString () { | |
return "TEST_STRING_#"; | |
} | |
proc RunLocal1 () { | |
print(GetTestString()); | |
} |
// | |
// Script Name: Basic Template | |
// | |
// 2017 David Frank / Public Domain | |
// | |
/* | |
Helper procedures | |
makes maya MEL life easier |
原评价出处:https://bitinn.net/11509/
更新下我首集预览的推荐和保留List——
稳
弃(为什么不好笑)
Shader /*ase_name*/ "AST/Extended Unlit" /*end*/ | |
{ | |
Properties | |
{ | |
_MainTex ("Sprite Texture", 2D) = "white" {} | |
_Color ("Tint", Color) = (1,1,1,1) | |
/*ase_props*/ | |
} | |
SubShader |
using UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.EventSystems; | |
namespace BeginHQ.Utility { | |
/* | |
redirect submit event to parent | |
*/ |
source dp_MaterialManager.mel; | |
materialManager; | |
// Error: "source dp_materialManager.mel;\n\ | |
// | |
// Error: "/Users/df/Library/Preferences/Autodesk/maya/2018LT/prefs/scripts/dp_MaterialManager.mel" line 2250.1: Unterminated string. // | |
// Error: deleteUI mmDockWindow; \n\ | |
// | |
// Error: "/Users/df/Library/Preferences/Autodesk/maya/2018LT/prefs/scripts/dp_MaterialManager.mel" line 2252.25: Syntax error // | |
// Error: deleteUI materialManagerWindow; \n\ | |
// |
Shader "Leocities/Tileable" | |
{ | |
Properties | |
{ | |
_BaseColorMask("BaseColor Mask", 2D) = "white" {} | |
_NormalMetallicRoughness("Normal Metallic Roughness", 2D) = "black" {} | |
[Toggle]_UseDecal("Use Decal", Range( 0 , 1)) = 1 | |
[Toggle]_UseDecalNormal("Use Decal Normal", Range( 0 , 1)) = 1 | |
_DecalBackgroundColor("Decal Background Color", Color) = (0,0,0,0) | |
_DecalForegroundColor("Decal Foreground Color", Color) = (1,1,1,0) |