Exemple #1
0
        public void OnEnable()
        {
            hipsTarget = (HipsTarget)target;

            if (hipsTarget.humanoid == null)
            {
                hipsTarget.humanoid = GetHumanoid(hipsTarget);
            }
            humanoid = hipsTarget.humanoid;
            if (humanoid == null)
            {
                return;
            }

            InitEditors();

            hipsTarget.InitSensors();
            InitConfiguration(hipsTarget);
            InitSettings();
        }