Removed TopDown View without deadzone. Exchanged Deadzone with Lookahead. Added Zoom to TopDown View
This commit is contained in:
@@ -2,13 +2,6 @@ using UnityEngine;
|
||||
|
||||
public class ActiveToggle : MonoBehaviour
|
||||
{
|
||||
public GameObject gameObject;
|
||||
|
||||
public void ToggleActive()
|
||||
{
|
||||
gameObject.SetActive(!gameObject.activeSelf);
|
||||
}
|
||||
|
||||
public void ToggleActive(GameObject obj)
|
||||
{
|
||||
obj.SetActive(!obj.activeSelf);
|
||||
|
||||
Reference in New Issue
Block a user