1128 Posted July 9, 2019 Share Posted July 9, 2019 i have simple script attached to a gameobject, the function "controllerLoadedHandler" is not at all invoking void OnEnable(){#if UNITY_EDITORWaveVR_ControllerLoader.onControllerModelLoaded += controllerLoadedHandler;#endif} void OnDisable(){#if UNITY_EDITORWaveVR_ControllerLoader.onControllerModelLoaded -= controllerLoadedHandler;#endif} void controllerLoadedHandler(GameObject go){Debug.Log("---------------------------controllerLoadedHandler : " + go.name);} ( tag added by moderator) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now