unity-unreal-code-translator / mapping_table.json
ramyaa1113's picture
updated mapping_table json file and UI
0b272f5
Raw
History Blame Contribute Delete
2.56 kB
{
"variables": {
"int": "int32",
"float": "float",
"bool": "bool",
"string": "FString",
"Vector3": "FVector",
"Quaternion": "FQuat",
"Transform": "FTransform",
"GameObject": "AActor",
"MonoBehaviour": "UActorComponent"
},
"methods": {
"Start": "BeginPlay",
"Update": "Tick",
"OnDestroy": "EndPlay",
"Instantiate": "SpawnActor",
"Destroy": "Destroy",
"FindObjectOfType": "GetAllActorsOfClass",
"GetComponent": "FindComponentByClass",
"SetActive": "SetActorHiddenInGame",
"CompareTag": "ActorHasTag",
"Invoke": "FTimerManager::SetTimer",
"InvokeRepeating": "FTimerManager::SetTimer",
"CancelInvoke": "FTimerManager::ClearTimer",
"OnCollisionEnter": "OnComponentHit",
"OnTriggerEnter": "OnComponentBeginOverlap",
"OnMouseDown": "OnClicked",
"OnMouseUp": "OnReleased"
},
"properties": {
"transform": "GetTransform()",
"position": "GetActorLocation()",
"rotation": "GetActorRotation()",
"localScale": "GetActorScale3D()",
"rigidbody": "GetComponent<UPrimitiveComponent>()"
},
"events": {
"Awake": "OnConstruction",
"OnEnable": "OnComponentBeginPlay",
"OnDisable": "OnComponentEndPlay"
},
"tags": {
"CompareTag": "ActorHasTag"
},
"input": {
"Input.GetKeyDown": "IsInputKeyDown",
"Input.GetKeyUp": "IsInputKeyUp",
"Input.GetAxis": "GetInputAxisValue",
"Input.GetButton": "IsInputActionPressed"
},
"coroutines": {
"StartCoroutine": "FTimerManager::SetTimer",
"StopCoroutine": "FTimerManager::ClearTimer"
},
"ui": {
"Canvas": "UUserWidget",
"Text": "UTextBlock",
"Button": "UButton",
"Image": "UImage",
"InputField": "UEditableTextBox"
},
"physics": {
"Rigidbody": "UPrimitiveComponent",
"Collider": "UPrimitiveComponent",
"OnCollisionEnter": "OnComponentHit",
"OnTriggerEnter": "OnComponentBeginOverlap"
},
"animations": {
"Animator": "UAnimInstance",
"SetTrigger": "Montage_Play",
"ResetTrigger": "Montage_Stop",
"Play": "PlayAnimation",
"Stop": "StopAnimation"
},
"audio": {
"AudioSource": "UAudioComponent",
"Play": "PlaySoundAtLocation",
"Stop": "Stop",
"Pause": "Pause"
},
"serialization": {
"PlayerPrefs": "SaveGame",
"PlayerPrefs.GetString": "LoadSaveGame",
"PlayerPrefs.SetString": "SaveSaveGame"
},
"delegates": {
"Action": "DECLARE_DELEGATE",
"Func": "DECLARE_DELEGATE_RetVal"
},
"events": {
"OnClick": "OnClicked",
"OnHover": "OnHovered"
}
}