protected override void RegisterTypes(IContainerRegistry containerRegistry) { rManager = new RManager(new RHostSessionCallback()); containerRegistry.RegisterInstance <IRManager>(rManager); Setup(); }
void Awake() { manager = GameObject.FindObjectOfType <IRManager>(); }