Home > other >  Untiy selected construction then periphery to form a circle time, continuously flowing
Untiy selected construction then periphery to form a circle time, continuously flowing

Time:09-26






Architecture is selected, forming a circle of time, has been up and down flow, how to realize the Unity effect??

CodePudding user response:

Under the shader to understand

CodePudding user response:

Add a texture map

CodePudding user response:

https://blog.csdn.net/qq992817263/article/details/81562513? Depth_1 -

CodePudding user response:

Equivalent to the object with a layer of joke, when building receive events, put the joke, took the joke hidden event is over, you can use the Unity comes, the features of the trigger can achieve what you want effect, also can use some monitoring methods,
Public GameObject hideshow;
Void the Start ()
{
Hideshow1. SetActive (false);//the start hidden object 1
}
Private void OnTriggerEnter (starts other)//trigger event
{

If (hideshow==null)
return;
Hideshow1. SetActive (true);
}
Private void OnTriggerExit starts (other)
{
If (hideshow==null)
return;
Hideshow1. SetActive (false);
}

CodePudding user response:

Shader graph is simpler,
  • Related