// Use this for initialization void Start() { sonarBehaviourScript = gameObject.GetComponent <SonarBehaviour>(); cylinderVibrationScript = gameObject.GetComponent <CylinderVibrationScript>(); }
private void Awake() { instance = this; }