//create static instance of class void CreateInstance() { if (instance == null) { instance = this; } else { Destroy(this); } }
public Rumble(CameraBehaviour camera, float rumbleintensity, float rumbletime) { _Camera = camera; _RumbleTime = rumbletime; _RumbleIntensity = rumbleintensity; }
public Idle(CameraBehaviour behaviour) { }