Мои Уведомления
Привет, !
Мой Аккаунт Мои Финансы Мои Подписки Мои Настройки Выход
Руководство API скрипты

Объявление

public void BindComponent(Component component);

Параметры

component Компонент для привязки.

Описание

Добавляет привязки для всех свойств component.

using UnityEngine; using UnityEditor; using UnityEditor.Animations; public class BindComponentScript : MonoBehaviour { void Start() { var recorder = new GameObjectRecorder(gameObject); // Add bindings for all the properties of the Transform and BoxCollider components. recorder.BindComponent(transform); recorder.BindComponent(GetComponent<BoxCollider>()); } }
Вы можете отблагодарить автора, за перевод документации на русский язык. ₽ Спасибо
API скрипты 2021.3