// [Range(0, 1)] // public float lerp = 0.01f; void OnEnable() { if (assetEvent != null) { assetEvent.AddListener(Invoke); } }
// [Range(0, 1)] // public float lerp = 0.01f; void OnEnable() { if (assetEvent != null) { assetEvent.AddListener(Invoke); } rigidbody = GetComponent <Rigidbody>(); }
/*AUTO SCRIPT*/ /*AUTO SCRIPT*/ /*AUTO SCRIPT*/ protected virtual void OnEnable() /*AUTO SCRIPT*/ { /*AUTO SCRIPT*/ assetEvent.AddListener(response); /*AUTO SCRIPT*/ }