コード例 #1
0
        void Start()
        {
            steering         = GetComponent <Steering>();
            wander           = GetComponent <Wander>();
            separation       = GetComponent <Separation>();
            velocityMatching = GetComponent <VelocityMatching>();

            sensor = transform.Find("Sensor").GetComponent <Sensor>();
        }