コード例 #1
0
        private void LoadPattern()
        {
            patternName = ScriptableObjectUtility.GetScriptableObjectFileName(patternToLoad);
            selectedCollisionResolution = patternToLoad.collisionResolution;
            collisionResolutionIndex    = patternToLoad.curvePriorityIndex;
            selectedPlaybackTiming      = patternToLoad.playbackTiming;
            customPlaybackTiming        = patternToLoad.customPlaybackTiming;
            selectedOffsetUse           = patternToLoad.offsetUse;
            selectedHeightOvershoot     = patternToLoad.heightOvershootResolution;
            selectedAngleOvershoot      = patternToLoad.angleOvershootResolution;

            patternWindow.LoadPattern(patternToLoad);
        }