Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using Cinemachine;
- public class EventManager : MonoBehaviour
- {
- public static event Action CollisionEvent01;
- public CinemachineVirtualCameraBase[] _vCams;
- public int _vCamsIndex = 0;
- //using this to text that the evet works
- private void Update()
- {
- if (Input.GetKeyDown(KeyCode.E))
- {
- CollisionEvent01();
- }
- }
- public static event Action CollisionEvent02;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement