You can create a script anywhere in your project,to do this, right click on the project window,choose "Create - C# Script",and then rename it to "Ripple".
After creating the C# script,you can double click to open and edit it.
1.Create a C# script and rename it "Ripple.cs",then paste all my codes into it.
2.Select one of the GameObject in your scene and add a "Ripple" component to it.
3.Drag your pond Hotspot into the "hotspot" box.
4.Drag yo…
It's not complex .using UnityEngine;using AC;
public class Ripple : MonoBehaviour { public Hotspot hotspot; public GameObject myRippleGameObject; public float lifeTime;
private void Awake() { EventManager.OnHotspotInteract += …
OK,if I made a scene full of 2D gameObjects like hotsopt2D,trigger2D,navmesh2D,etc,when I change from other 2.5D scenes and use script to set AC.KickStarter.settingManager.cameraPerspective equal to 2D,all of the 2D gameObjects will work correctly,i…