本组件仅实现A传送点到B传送的功能,是可以双向传送的,如果只要单向传送,可以另外改脚本实现; 先看效果: unity组件传送点演示 1.传送组件shader是怎么写的:这种效果的实现方案 shader编辑器是这样的: 代码是这样的: // Made with Amplify Shader Editor v1.9.1.5 // Available at the Unity Asset Store - http://u3d.as/y3X Shader "INS/ChuangDian_CZ" { Properties { _Color("Color", Color) = (1,1,1,0) _Texture("Texture", 2D) = "white" {} _Desaturate("Desaturate", Range( 0 , 1)) = 0.5 _RuoHua("RuoHua", Range( 0 , 1)) = 1 _Metallic("Metallic", Range( 0 , 1)) = 0 _Smoothness("Smoothness", Range( 0 ,...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile