예제 #1
0
파일: Walker.cs 프로젝트: wjpeters/angry-ai
        public override void InitializeAgent()
        {
            interval      = agentParameters.numberOfActionsBetweenDecisions;
            actionsLerp   = new float[nActions];
            actionsBuffer = new float[nActions];

            Transform container = transform.parent;

            resetter = new Resetter(container);
            body.Initialize(container.position);
        }