mirror of
				https://github.com/DerTyp7/fps-citybuild-unity.git
				synced 2025-10-30 20:47:08 +01:00 
			
		
		
		
	added minimap
This commit is contained in:
		| @@ -4,7 +4,6 @@ using UnityEngine; | ||||
|  | ||||
| public class LightSwitch : Interactable | ||||
| { | ||||
|     public GameObject GameManager; | ||||
|     public Light m_Light; | ||||
|     public bool isOn; | ||||
|  | ||||
| @@ -30,14 +29,6 @@ public class LightSwitch : Interactable | ||||
|     public override void Interact() | ||||
|     { | ||||
|         isOn = !isOn; | ||||
|  | ||||
|         if (isOn) { | ||||
|             GameManager.GetComponent<EventLog>().CreateEvent("Licht2"); | ||||
|         } | ||||
|         else | ||||
|         { | ||||
|             GameManager.GetComponent<EventLog>().CreateEvent("Licht1"); | ||||
|         } | ||||
|          | ||||
|         //Debug.Log("Click Light"); | ||||
|         UpdateLight(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 DerTyp187
					DerTyp187