private void Awake()
        {
            player = this.playbackCommon.GetComponent <CookingSupportPlayer>();

            elapsedTime  = 0.0f;
            isObserving  = false;
            isExtracting = false;
        }
예제 #2
0
        private int inclinationLimit = 0; //0:assymetry, 1:symmetry

        private void Awake()
        {
            recorder = this.playbackCommon.gameObject.GetComponent <CookingSupportRecorder>();
            player   = this.playbackCommon.gameObject.GetComponent <CookingSupportPlayer>();

            isStoring            = false;
            isBoth               = false;
            isExpertMotionLoaded = false;
            elapsedTime          = 0.0f;

            targetTransforms.Add(this.playbackCommon.GetLeftHand());
            targetTransforms.Add(this.playbackCommon.GetRightHand());
            targetDims = targetTransforms.Count * 3;
        }