Exemplo n.º 1
0
        private void OnEnable()
        {
            targetSettings = (BehaviorSettings)target;
            _behaviors     = serializedObject.FindProperty("behaviors");
            _maxForce      = serializedObject.FindProperty("maxForce");
            _maxSpeed      = serializedObject.FindProperty("maxSpeed");

            _containment = serializedObject.FindProperty("containmentBehavior");
        }