C# Class KramaxReloadExtensions.ReloadableMonoBehaviour

Inheritance: UnityEngine.MonoBehaviour
显示文件 Open project: Kramax/KramaxAutoPilot

Public Methods

Method Description
AddComponent ( Type type ) : MonoBehaviour
AddComponentToObject ( Type type, GameObject aGameObject ) : MonoBehaviour

Method Details

AddComponent() public method

public AddComponent ( Type type ) : MonoBehaviour
type System.Type
return UnityEngine.MonoBehaviour

AddComponentToObject() public method

public AddComponentToObject ( Type type, GameObject aGameObject ) : MonoBehaviour
type System.Type
aGameObject UnityEngine.GameObject
return UnityEngine.MonoBehaviour