void SeekPauseControllersOnGameObject(ActivationBehaviour behaviour) { pauseController = (PauseController)gameObject.GetComponent <PauseController>(); if (pauseController) { pauseControllerName = pauseController.pauseName; } }
void SeekPauseControllersOnGameObject( ActivationBehaviour behaviour ) { pauseController = (PauseController)gameObject.GetComponent< PauseController >() ; if( pauseController ) { pauseControllerName = pauseController.pauseName ; } }