コード例 #1
0
    protected void Awake()
    {
        MVRNodesMapper.CreateInstance();
        MVRNodesCreator.CreateInstance();

        InitializeVR();
    }
コード例 #2
0
    protected void Awake()
    {
        // Attempt to collect objects from previous level
        System.GC.Collect();
        System.GC.WaitForPendingFinalizers();
        // Second call to work around a possible mono bug (see https://bugzilla.xamarin.com/show_bug.cgi?id=20503 )
        System.GC.WaitForPendingFinalizers();

        MVRNodesMapper.CreateInstance();
        MVRNodesCreator.CreateInstance();

        InitializeVR();
    }