RotateableObj.GetComponent().enabled = true RotateableObj.GetComponent().enabled = false ĭestroyImmediate(RotateableObj.GetComponent()) If (RotateableObj.GetComponent().enabled = true) MovableObj.GetComponent().enabled = true SceneManager.LoadScene("StartScene", LoadSceneMode.Additive) Ģ.2 This scene contains Play Button which on Click will Loads 3rd Scene having Radio Buttons and Other Buttons.ģ.1 having set of 3 Radio Buttons with Toggle Group Attached.ģ.2 I have Given Reference of Toggle Group as Following.ģ.2.1 I have a GameObj G1 and its child as G2.ģ.2.2.On MoveToggle pressed i have to Enable Collider and Script of G1 and Destroy Rotate script of G2 and disable collider of G2.ģ.2.3.Similarly i have to Apply Rotate scipt on G2 and enable its collider and disable Move script and collider of G1ģ.2.4 On 3rd Button i.e None i have to Disable Move script and collider of G1 and Destroy Rotate script of G2 and disable collider of G2.
ġ.1 containing MixedRealit圜amera and Input Manager at one Place as I am having Multiple scenes in my Project.Ģ.1 having Event System using Standalone Input Module as seen here.Ģ.1 Base Scene Load this Scene Additive as Hi as per your request i have created this new Thread.