This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class Gravitor : MonoBehaviour { | |
[SerializeField] [FMODUnity.EventRef] string gravitorSound = "event:/SFX/Gravitor"; | |
[SerializeField] float soundRange = 10f; | |
FMOD.Studio.EventInstance gravitorEvent; | |
[Header("Physics")] | |
[SerializeField] float mass = 1f; | |
public float range = 1f; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using std::cout; | |
using std::string; | |
using std::vector; | |
#if 1 | |
// we need to define static members outside the class | |
int User::userCount = 0; |